I want to use __uuidof in function CoCreateInstance:
CoCreateInstance(clsid,NULL,CLSCTX_INPROC_SERVER,__uuidof(Isesoft),(LPVOID*)&pem);
error:
'__uuidof' was not declared in this scope.
How can I use it in MINGW?
I want to use __uuidof in function CoCreateInstance:
CoCreateInstance(clsid,NULL,CLSCTX_INPROC_SERVER,__uuidof(Isesoft),(LPVOID*)&pem);
error:
'__uuidof' was not declared in this scope.
How can I use it in MINGW?
__uuidof
is an MS specific extension, but you should be able to replace __uuidof(IMyInterface)
with IID_IMyInterface
for the same behavior in a portable way.