ObjectARX14 vs Access2000

ObjectARX14 vs Access2000

Anonymous
Not applicable
205 Views
0 Replies
Message 1 of 1

ObjectARX14 vs Access2000

Anonymous
Not applicable
Hi all!
I've got an arx application that is accessing an access database...
I've got 2 version of this arx:
an arx14 version that is using access97
and an arx2000 version that is using access2000 of course...

I had little problems with the second version (arx2000) but i fixed it using
this line:
AfxGetModuleState()->m_dwVersion=0x601;

Now... I've got a customer that just upgrade to Windows 2000 and at the same
time Access2000... So my arx14 version is not working with Accesse2000
because is missing the
AfxGetModuleState()->m_dwVersion=0x601; line...
So... I added this line in my arx14 version just before opening th
database... But now the arx doesn't want to build because:

DatabasePage.cpp(246) : error C2039: 'm_dwVersion' : is not a member of
'AFX_MODULE_STATE'
C:\Program Files\Microsoft Visual
Studio\VC98\MFC\INCLUDE\afxstat_.h(191) : see declaration of
'AFX_MODULE_STATE'

Why so?
Is there i way i can fix this or my customer needs to upgrade to ACAD2000+?

--
Andre Roy
Software Developer / Webmaster / 3D Animator
www.promine.com
0 Likes
206 Views
0 Replies
Replies (0)