Jonmy
asked on
Couldn't work with DAO 3.6 using MFC in a static library
I have a application which uses "MFC in a static library".
When I tried to work with Access 2000, a "invalid format" error message occurs.
I've tried to add this follow line to my app's InitInstance function.
"AfxGetModuleState()->m_dw Version = 0x0601;"
or
"AfxGetStaticModuleState() ->m_dwVers ion = 0x0601;"
=> No result
When i build my project, an error occurs telling "m_dwVersion is not a member of AFX_MODULE_STATE class" or something like that.
I believe that "m_dwVersion" member is only available whether MFC is used as a dynamic library (_AFXDLL must be defined).
So, How do i work whith DAO 3.6 using MFC in a static library ?
Thanks
When I tried to work with Access 2000, a "invalid format" error message occurs.
I've tried to add this follow line to my app's InitInstance function.
"AfxGetModuleState()->m_dw
or
"AfxGetStaticModuleState()
=> No result
When i build my project, an error occurs telling "m_dwVersion is not a member of AFX_MODULE_STATE class" or something like that.
I believe that "m_dwVersion" member is only available whether MFC is used as a dynamic library (_AFXDLL must be defined).
So, How do i work whith DAO 3.6 using MFC in a static library ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome,
have a nice day,
regards,
ZOPPO
have a nice day,
regards,
ZOPPO
ASKER