I need to access a DLL's functions. When I view the DLL, using DLL Export Viewer - option, Scan COM type libraries, I can see the function that I'm looking after, but it is displayed as
Code:
_PastelPartnerSDK::ImportCustomer 1610809394 (0x60030032) PasSDK.dll F:\PastelDLL\PasSDK.dl COM Method
Now I can't seem to find examples for GetProcAddress and COM Methods...
Do I call GetProcAddress as follows?
Code:
GetProcAddress(hm, _T("ImportCustomer"));
or
Code:
GetProcAddress(hm, _T("_PastelPartnerSDK::ImportCustomer"));
(Where "hm" is the handle returned by LoadLibrary
The same goes for the
Code:
typedef void * (__stdcall *ImportCustomer)();
(Can I use any name (ImportCustomer used here) or does it need to be the same as in the DLL?)
Thank you.