A
Anonymous
I have a Win32 DLL project that needs to be refactored to support ATL.
Specifically, I need to expose one COM object, that makes use of the
library functionality.
I tried adding a 'Simple ATL object' class directly to the project - but
that (unsuprisingly), failed. I then changed the project settings and
specified 'Use of ATL' from 'Not Using ATL' to 'Dynamic link to ATL',
However, when I tried to add a 'Simple ATL object' class again, I got
the same error:
'ATL objects can only be added to MFC EXE and MFC Regular DLL projects
or projects with full ATL support'
Can anyone tell me how I may modify my project settings so I may add the
'Simple ATL object' class?
Specifically, I need to expose one COM object, that makes use of the
library functionality.
I tried adding a 'Simple ATL object' class directly to the project - but
that (unsuprisingly), failed. I then changed the project settings and
specified 'Use of ATL' from 'Not Using ATL' to 'Dynamic link to ATL',
However, when I tried to add a 'Simple ATL object' class again, I got
the same error:
'ATL objects can only be added to MFC EXE and MFC Regular DLL projects
or projects with full ATL support'
Can anyone tell me how I may modify my project settings so I may add the
'Simple ATL object' class?