OPC Server Toolkit - DLL Implementierung

TJa

Grünschnabel
Hallo,

Ich möchte das OPC Server Toolkit (DLL) in meine MFC Applikation implementieren.

Wie kann ich die DLL richtig einbinden ?
Dann gibt es da folgene Methode die ich zunächst gerne verwenden möchte :

Operation Specification

Initialize() BOOL Initialize( HINSTANCE hInstance, CLSID &clsid, LPCTSTR pszVendorInfo, nPriority = THREAD_PRIORITY_NORMAL )

Arguments hInstance Module instance handle – required by the ATL registrar component to find the registration script resource. clsid The unique class id for this OPC server object (obtained by running GUIDGEN.EXE). pszVendorInfo Pointer to a vendor specific information string. This will usually include the vendor name and possibly a version number for the driver code1.

Wie erstelle ich ein "HInstance" :confused:

Ich freue mich sehr über alle Tips,

vielen Dank
TJ
 
hy...

also, ich weiß jetzt nicht, obs dir unbedingt bei deimen problem weiterhilft, aber so ein thema gabs schonmal... hier
 
Zurück