Ok function definition is:
STDAPI CoCreateInstance(
REFCLSID rclsid, //Class identifier (CLSID of the object
LPUNKNOWN pUnkOuter, //Pointer to controlling IUnknown
DWORD dwClsContext, //Context for running executable code
REFIID riid, //Reference to the identifier of the interface
LPVOID * ppv //Address of output variable that receives
// the interface pointer requested in riid
);
and my compiling errors are:
78, 35 Type error in argument 1 to `CoCreateInstance'; found 'CLSID' expe
cted
'const pointer to const IID'.
78, 70 Type error in argument 4 to `CoCreateInstance'; found 'IID' expected
'const pointer to const IID'.
I did try to change the calling convention but always the same error...
Thank...