32 bit or 64 bit (1 Viewer)

gsrajan

Registered User.
Local time
Today, 12:48
Joined
Apr 22, 2014
Messages
227
I installed access in 64 bit windows computer and when I open the database I get the error message as it is 32 bit. Please let me know how to fix this. Thank you.
 

isladogs

MVP / VIP
Local time
Today, 17:48
Joined
Jan 14, 2017
Messages
18,241
Sorry that doesn't make sense.
Did you install 64-bit Office including Access? If so, you will need to do one of the following
1. Convert all API declarations to 64-bit
2. Uninstall 64-bit Office and reinstall the 32-bit version.
I suggest you do option 2 if possible
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:48
Joined
Oct 29, 2018
Messages
21,478
I agree. Better to do option 2 than option 1, if you can. Cheers!
 

zeroaccess

Active member
Local time
Today, 11:48
Joined
Jan 30, 2020
Messages
671
If you only have one or two API declarations it's very easy to get things working again.

Keep in mind that if you deploy .accde files, your users will need 64-bit Access to run them.
 

gsrajan

Registered User.
Local time
Today, 12:48
Joined
Apr 22, 2014
Messages
227
Thank you everyone. Only Accde file is not working. I will go with the option 2 when I go to office. Thanks for your help.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:48
Joined
Oct 29, 2018
Messages
21,478
Thank you everyone. Only Accde file is not working. I will go with the option 2 when I go to office. Thanks for your help.
Yes, if you need to deploy ACCDE files, then that's definitely a problem. Good luck!
 

gsrajan

Registered User.
Local time
Today, 12:48
Joined
Apr 22, 2014
Messages
227
Ok, thank you. I will be back here when I work on that!
 

zeroaccess

Active member
Local time
Today, 11:48
Joined
Jan 30, 2020
Messages
671
Thank you everyone. Only Accde file is not working. I will go with the option 2 when I go to office. Thanks for your help.
If your users have the same 64-bit Access, just change your

Public/Private Declare

to

Public/Private Declare PtrSafe

Recompile and Save As .accde
 

Users who are viewing this thread

Top Bottom