Page 1 of 1

DLL Call fails when EXE protected

Posted: Fri Sep 23, 2022 4:50 pm
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.

Re: DLL Call fails when EXE protected

Posted: Mon Sep 26, 2022 4:11 pm
by Enigma
Hi David, can you please send us NON protected files at support@enigmaprotector.com for testing?

Re: DLL Call fails when EXE protected

Posted: Fri Nov 25, 2022 4:39 pm
by davidwilbourn
Closed - problem was with the DLL (32 bit version used cardinal for the handle, 64bit version used NativeUInt)

Re: DLL Call fails when EXE protected

Posted: Tue Nov 29, 2022 7:38 am
by Enigma
OK David, thanks for confirmation!