Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Delphi 7 > 2010

More
23 Sep 2018 18:51 #6707 by muffin
Replied by muffin on topic Delphi 7 > 2010
It seems that the problem is solved.
Embedded assemblies are not included in the common installation.
When the customer selected Full installation, our application was connected without problem.
Thank you for your support!

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

More
19 Sep 2018 07:17 #6683 by support
Replied by support on topic Delphi 7 > 2010
That you providing all the details. It is a mystery, because everything looks as it should (in the installation logs, in the logs, and in the registry); also, the error from VBScript is the same as from Delphi, so it is clear that the problem relates to COM API of QuickOPC in general.

From the error message, it seems that while all our "normal" files are in place, some internal dependency is missing. We are doing some "tricks" internally to reduce the number of dependencies that need to be installed, and there is a possibility that this somehow failed.

Can you please try to:

1. Install this on the computer: www.microsoft.com/en-us/download/details.aspx?id=53840 .

2. Re-run the Steup, choose a custom installation, select "full" install type, and, just to be absolutely sure, verify that "Embedded assemblies" is checked in the list of installation components.

BTW, have you tried the same on some other computer?

Regards

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

More
18 Sep 2018 18:09 #6681 by muffin
Replied by muffin on topic Delphi 7 > 2010
dir.txt, registry and CScript
Attachments:

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

More
18 Sep 2018 18:05 #6680 by muffin
Replied by muffin on topic Delphi 7 > 2010
Installer logs...

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

More
16 Sep 2018 06:54 #6658 by support
Replied by support on topic Delphi 7 > 2010
What do you lead to think that "the installation was not finished properly"? Was there some error message, - or is just the fact that things don't work as expected?

Anyway, have a look at the installer log file, and/or post it here. Instructions: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...bleshooting%20the%20Setup.html .

Second, use command line to change the current directory to the installation directory of QuickOPC, do "dir /s >dir.txt", and post the resulting "dir.txt" file here.

Third, use REGEDIT to check if you have the following registry key:

HKEY_CLASSES_ROOT\CLSID\{6B0B5307-BCB6-4953-A832-BFCF952F7561}

and if so, right-click on it, do "Export", and post the resulting file here.

Fourth, in the installation directory of QuickOPC, switch to the following directory:

ExamplesCom\VBScript\WSH\DOcExamples\_EasyDAClient

and type

CScript ReadItem.Main.vbs

Does it work (do you get a value/quality/timestamp), or do you get an error message (if so, what is the message?).

Thank you
Best regards

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

More
15 Sep 2018 18:17 #6657 by muffin
Replied by muffin on topic Delphi 7 > 2010
Our customer said that they installed the component with COM development enabled. But it seems that the installation was not finished properly. How can we find out that the component was installed with COM? Is there something in the registry for example?
Thank you

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

More
15 Sep 2018 15:49 #6656 by support
Replied by support on topic Delphi 7 > 2010
OK, this isn't really a connection problem in the sense of connection from the OPC client to the OPC server, but rather a problem in instantiating the QuickOPC component.

I assume this is with the current version (2018.2).

Have you installed QuickOPC with COM development enabled? This is a choice on the 2nd page of the Setup wizard. If not, or if you are not sure, please re-run the Setup and make the proper choice.

Best regards

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

More
15 Sep 2018 12:13 - 15 Sep 2018 12:18 #6655 by muffin
Replied by muffin on topic Delphi 7 > 2010
function TdmOPC.Initialize(var p_sMessage: String): Boolean;
begin
// OPC Interface
try
// create OPC client
goOPCClient := CoEasyDAClient.Create;
goOPCClientDefaultMode := goOPCClient.InstanceParameters.Mode;

p_sMessage := Format('Inicialization of OPC: %s, %s.', ['QuickOPC', IntToStr(OpcLabs_EasyOpcClassicMajorVersion) + '.' +
IntToStr(OpcLabs_EasyOpcClassicMinorVersion)]);

Result := True;
except
on E: Exception do
begin
p_sMessage := Format('Error inicialization OPC: %s!', [E.Message]);
Result := False;
end;
end;
end;

Exception:
Error inicialization OPC: System cannot find the file, ClassID: {6B0B2307-BCB6-4953-A832-BFCF952F7561}!

Attachments:
Last edit: 15 Sep 2018 12:18 by muffin.

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

More
15 Sep 2018 10:27 #6654 by support
Replied by support on topic Delphi 7 > 2010
Hello,
we are no Delphi expert here, but we will do our best to help you with this.

In general, both the approaches you have mentioned (using the old version with Delphi 2010, or using the current version) should work. But we provide no support for that old version, so the focus should be on the solution with the current version.

Either way, please follow the posting rules described here: www.opclabs.com/forum/announcements12/2365-rules-for-forum-posts . Your description is not detailed enough. Specifically, describe what you man by "has ... problem with connection".

Best regards

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

More
15 Sep 2018 09:18 #6652 by muffin
Delphi 7 > 2010 was created by muffin
Hello, please could somebody help me? We purchased EasyOPC about 10 years ago and used it with Delphi 7. Now we moved our project to Delphi 2010 and found out that EasyOPC can't connect. So we tried to use QuickOPC but it has also problem with connection. Do you have some experience with moving project from Delphi 7 to 2010 or similar versions?
Thank you

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

Moderators: support
Time to create page: 0.076 seconds