conor0callaghan
Programmer
Not sure if its a linker error or something but I want to use CComBSTR so i need atlbase.h
problem is when I #include<atlbase.h> I get 2 compiler errors.
I'm not using using CComBSTR or any thing , this is the error
---------------------------------------------------------
error C2065: 'GUID_NULL' : undeclared identifier
-------------------------------------------------------
\vc98\atl\include\atliface.h(2055) : error C2440: 'default argument' : cannot convert from 'int' to 'const struct _GUID &'
Reason: cannot convert from 'int' to 'const struct _GUID'
No constructor could take the source type, or constructor overload resolution was ambiguous
---------------------------------------------------------
\vc98\atl\include\atliface.h(2055) : error C2548: 'AtlAxCreateControlEx' : missing default parameter for parameter 6
-------------------------------------------
Error executing cl.exe.
Anyone know the solution to this.
Thanks in advance.
problem is when I #include<atlbase.h> I get 2 compiler errors.
I'm not using using CComBSTR or any thing , this is the error
---------------------------------------------------------
error C2065: 'GUID_NULL' : undeclared identifier
-------------------------------------------------------
\vc98\atl\include\atliface.h(2055) : error C2440: 'default argument' : cannot convert from 'int' to 'const struct _GUID &'
Reason: cannot convert from 'int' to 'const struct _GUID'
No constructor could take the source type, or constructor overload resolution was ambiguous
---------------------------------------------------------
\vc98\atl\include\atliface.h(2055) : error C2548: 'AtlAxCreateControlEx' : missing default parameter for parameter 6
-------------------------------------------
Error executing cl.exe.
Anyone know the solution to this.
Thanks in advance.