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

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: 2848
Joined: Wed Aug 20, 2008 2:24 pm

Re: DLL Call fails when EXE protected

Post by Enigma » Mon Sep 26, 2022 4:11 pm

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 » Fri Nov 25, 2022 4:39 pm

Closed - problem was with the DLL (32 bit version used cardinal for the handle, 64bit version used NativeUInt)

Enigma
Site Admin
Posts: 2848
Joined: Wed Aug 20, 2008 2:24 pm

Re: DLL Call fails when EXE protected

Post by Enigma » Tue Nov 29, 2022 7:38 am

OK David, thanks for confirmation!

Post Reply