Re: Antwort: Re: [JAWIN] Antwort: Re: [JAWIN] Undefined function stealUnknown
Morten Andersen <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi Kai On Fri, 1 Apr 2005 08:50:45 +0200, Kai Klesatschke <[email protected]> wrote: > >Okay, now I'm confused again. After installing the opc core components I >got no such a folder like you. My DLLs are all located in >/Windows/system32. There I have following files (I'll send them to >directly to you): >opcSec_PS.dll >opcproxy.dll >opchda_ps.dll >OPCDAAuto.dll >OPCComn_ps.dll >opcbc_ps.dll >opc_aeps.dll Ok. I assume the reason is that you had installed one or more of the OPC-servers first? Then this sentence from the OPC Core Components documentation "Redistributable" section, may explain it?: ".. All COM servers and proxy/stub libraries that have been previously released are installed in the system folder and reference counted in order to ensure compatibility with older install programs. .." As for the OPCDAAuto.dll file you sent me. If you check the version information for the file you will see that the company name is: "OPC Foundation and FactorySoft, Inc." So this file you actually got with the FactorySoft OPC-server. >>This seems to contain a OPCDAAuto.dll: >>http://opcfoundation.org/DownloadFile.aspx/Data%20Access/OPC%20DA%20Auto%202.02%20Source%20Code%205.20.htm?RI=252 > >Hey how did you get that page? I'm afraid I can't use that link because my >company isn't member of the foundation and on this account I can't >download this wraper source code. I tried this weeks ago ;-) With the >sample code from the foundation I would be much more steps further. As far as I know, the documentation pages for the different downloads, e.g. the "readme" link (link no. 2) on a page like this: http://www.opcfoundation.org/DownloadFile.aspx?CM=3&RI=205&CU=2 are free for all? Only the downloads themselves requires registration (and a few also requires company membership of the OPC foundation). > >Today I'm going to generate stubs from a typelib of a Siemens OPC server >implementation. Maybe this will help. As far as I know the interfaces are the same for ALL OPC vendors, as these are specified by the OPC Foundation. Only the actual implementation differs. So I don't think you will find any difference with other opc-servers. But I have tried to generate stubs from the OPCDAAuto.dll you supplied. I get 7 errors when compiling it afterwards. They all seem to be due to our limitied support for socalled "CoClasses" (please see http://jawinproject.sourceforge.net/jawintypebrowser.html#supportedTypes ). I think you can solve it be replacing the reference for the failing classes as follows for these 7 errors: OPCGroup -> replace with IOPCGroup OPCGroups -> replace with IOPCGroups And after that I think it can compile. Good luck with it. Best Regards Morten