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"
Ich freue mich sehr über alle Tips,
vielen Dank
TJ
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 :confused: :confused:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f615.png)
Ich freue mich sehr über alle Tips,
vielen Dank
TJ