Link to home
Create AccountLog in
Avatar of geeta_m9
geeta_m9

asked on

Compile Error When Running MS-Access Database Application

I developed a Access application on my computer (64 bit) that runs fine. I copied the application to my colleague's computer (via my thumb drive) and it ran fine the first time on her computer. However, when she tried running it the next time, she is getting the following error (see attached). What is causing the error and how do I fix it?
Compile-Error.png
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of geeta_m9
geeta_m9

ASKER

I'll try that. I am not sure why it worked the first time though.
'64 bit"
Is this 64 bit Office or just 64 bit Win 7?

BTW ... I have no issues with that same API on my Win7 X64 system.

mx
I am running Windows 7 64 bit OS and so is my colleague's computer. I don't know if Office is 64 bit. How do I determine that?
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
" if the OS is 64 bit then you need to modify your API calls."
Those same API calls work for me with MDBs running on Win7 X64 ... with 32bit Office.

mx
<<Whether Office is 64 bit or not, if the OS is 64 bit then you need to modify your API calls and/or type declarations. >>

 No, that's not the case.  The calls only need to be modified if it's running in 64 bit Office.   If it's 32 bit Office, it will run fine in a 64 bit OS with the calls being thunked into 32 bit mode.

Jim.