F
Frank S.
I am working on an Outlook add-in created with the Visual Studio .Net
2003 "Shared Add-in" wizard. I am using C++/ATL/WTL.
Do I need to use "AFX_MANAGE_STATE(AfxGetStaticModuleState());"
statements in exported functions in the add-in DLL?
If yes, how do I change the project to avoid this type of error:
Compiling...
Connect.cpp
\Connect.cpp(33) : error C3861: 'AFX_MANAGE_STATE': identifier not
found, even with argument-dependent lookup
\Connect.cpp(33) : error C3861: 'AfxGetStaticModuleState': identifier
not found, even with argument-dependent lookup
Thanks,
Frank
2003 "Shared Add-in" wizard. I am using C++/ATL/WTL.
Do I need to use "AFX_MANAGE_STATE(AfxGetStaticModuleState());"
statements in exported functions in the add-in DLL?
If yes, how do I change the project to avoid this type of error:
Compiling...
Connect.cpp
\Connect.cpp(33) : error C3861: 'AFX_MANAGE_STATE': identifier not
found, even with argument-dependent lookup
\Connect.cpp(33) : error C3861: 'AfxGetStaticModuleState': identifier
not found, even with argument-dependent lookup
Thanks,
Frank