Professional OPC
Development Tools

logos

Violation error with last quick opc version on browsing

More
01 Nov 2017 08:46 #5625 by willignicolas
Yes I have found that in the mean time.

It works good after updating the wrapper file.

Thanks.

Please Log in or Create an account to join the conversation.

More
01 Nov 2017 08:27 #5622 by support
You cannot just switch installations of different QuickOPC versions and expect the code to work.

The developer needs to choose a specific version. Then, generate the Object Pascal wrappers for that particular version, from the Type Libraries (.TLBs) of that version of QuickOPC, and build with them. And, of course, the assemblies for that version must be installed and registered.

Regards

Please Log in or Create an account to join the conversation.

More
24 Oct 2017 16:06 #5612 by willignicolas
Hello,

We use Quickopc for one year on 2016.2 version.

I test the new version 2017.1 but with same source code we have violation error on browsing interface loading.

We are on Delphi Tokyo.

On DA with TOpcBrowseDialog code :
  BrowseDialog := TOpcBrowseDialog.Create(nil);
  BrowseDialog.Mode.MultiSelect := true;
  BrowseDialog.ShowDialog(nil);

Error on BrowseDialog.Mode.MultiSelect := true;


On UA with TUABrowseDialog
  BrowseDialog := TUABrowseDialog.Create(nil);
  BrowseDialog.Mode.SelectElementType := UAElementType_Node;
  //BrowseDialog.Mode.SelectableNodeClasses := UANodeClass_Variable;
 
  BrowseDialog.Mode.MultiSelect := true;
 
 
  BrowseDialog.ShowDialog(nil);

Error on BrowseDialog.Mode.SelectElementType := UAElementType_Node;


if a just uninstall the 2017.1 version and install the 2016.2 version an execute my code it works again.

Thanks for your help.

Nicolas
SMCOM Software

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.171 seconds

      

 Recommend this on Google