DLL Call fails when EXE protected

x64 version issues
Post Reply
davidwilbourn
Posts: 5
Joined: Mon Feb 07, 2022 10:52 am

DLL Call fails when EXE protected

Post by davidwilbourn »

My app calls a DLL to do some number crunching (geographic coordinate conversion). This works fine in the un-protected and enigma protected 32bit version of my app and also in the unprotected 64bit version. But once I protect the 64bit version the calls to the DLL no longer work. The DLL is being loaded, a handle is being returned by LoadLibrary, but the next step: GetProcAddress returns nil instead of a structure as it does in the 32bit and unprotected 64bit versions.
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: DLL Call fails when EXE protected

Post by Enigma »

Hi David, can you please send us NON protected files at support@enigmaprotector.com for testing?
davidwilbourn
Posts: 5
Joined: Mon Feb 07, 2022 10:52 am

Re: DLL Call fails when EXE protected

Post by davidwilbourn »

Closed - problem was with the DLL (32 bit version used cardinal for the handle, 64bit version used NativeUInt)
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: DLL Call fails when EXE protected

Post by Enigma »

OK David, thanks for confirmation!
Post Reply