Dear Enigma,
I am evaluating Enigma protector for 64-bit which looks very promising.
However I cannot generate a HardwareId with EP_RegHardwareID.
I took the example application as found in the forum:
http://forum.enigmaprotector.com/viewto ... 74&p=14390
I compiled the sample application with Delphi XE3 for 32-bit and after protecting the executable with the 32-bit protector I can see the HardwareId as expected. But compiling the same code for 64-bit and using the 64-bit enigma_ide.dll (I had to rename the enigma_ide64.dll) after protection with the 64-bit protector the HardwareID remains empty.
Is this a bug or am I missing something?
I can provide you the 64-bit sample application should you need it.
Thanks for looking into this,
J.
Cannot generate HardwareId in 64-bit
Re: Cannot generate HardwareId in 64-bit
Hi dajur, yes, please provide us with the compiled sample, we will check it out asap and let you know the core of the problem.
Re: Cannot generate HardwareId in 64-bit
The examples both working 32-bit and failing 64-bit have been forwarded to support.
Thanks for looking in to this,
J.
Thanks for looking in to this,
J.
Re: Cannot generate HardwareId in 64-bit
OK, I found the core of the problem. You had to rename the dll in the enigma_ide.pas, not the dll file itself.
Simply, just take enigma_ide64.pas from the folder "EnigmaSDK\FPCx64\" and use it for x64 project.
So your "uses" block will look the following:
enigma_ide64.pas should be used for x64 project
enigma_ide.pas should be used for x86 project
Simply, just take enigma_ide64.pas from the folder "EnigmaSDK\FPCx64\" and use it for x64 project.
So your "uses" block will look the following:
Code: Select all
Uses {$IFDEF WIN64}enigma_ide64{$ELSE}enigma_ide{$ENDIF};
enigma_ide.pas should be used for x86 project
Re: Cannot generate HardwareId in 64-bit
Great!
Thanks for the solution and your quick reply,
J.
Thanks for the solution and your quick reply,
J.
Re: Cannot generate HardwareId in 64-bit
You are welcome, let me know if you will have other questions!