Solved Convert to 64-bit

Kayleigh

Member
Local time
Today, 16:39
Joined
Sep 24, 2020
Messages
709
Hi, I came across the attached sample database but having trouble converting to run on 64-bit machine. Can anyone help me please?
 

Attachments

Hi. I don't have 64-bit to test this, but you could start out by adding PtrSafe anywhere you see Private Declare. For example,

Private Declare PtrSafe Function VirtualAlloc...

Hope that helps...
 
See Here:-

 
See Here:-

Amazing! How on earth did you find that thread? I am wondering now if that utility is not 64-bit compatible.
 
Amazing! How on earth did you find that thread

Well, I tried to convert it to 64bit, but it failed on one of the subs, so I searched on the erroneous sub, and found that thread.

Unfortunately, it's still not working!

I suspect some of the "Longs" need changing to ptrsafe longs. The OP will need to research on that I believe.
 
Well, I tried to convert it to 64bit, but it failed on one of the subs, so I searched on the erroneous sub, and found that thread.

Unfortunately, it's still not working!

I suspect some of the "Longs" need changing to ptrsafe longs. The OP will need to research on that I believe.
Thanks for the update. I am wondering if the "native code" is a 32-bit piece of code that may not work in 64-bit. I'll need to find the original source and see if there's any explanation about that.
 
The only developer I know who uses native code in Access is Wayne Phillips so the original file was easy to track down.
Access/VBA Tutorials - Accessing detailed file information provided by the Operating System (everythingaccess.com)
I've checked and it doesn't work in 64-bit.

However I have a similar utility which works in both 32-bit & 64-bit.
See Extended File Properties - Mendip Data Systems

Hope that helps
Thanks! That's what I figured may be the case.
 
don't use Crystal's version (it only works for x32).
go further down that site and download the one with link "sample database file".
this one is x64-ready.
 

Users who are viewing this thread

Back
Top Bottom