keygen dll crashes on Windows 8

Post here messages if you have any problems with working of Enigma Protector
Post Reply
thsch
Posts: 4
Joined: Fri Feb 07, 2014 3:27 pm

keygen dll crashes on Windows 8

Post by thsch »

I have a key generator application written in C++ using the keygen dll that works fine on Windows 7. However, on Windows 8, 8.1 and Windows Server 2012, it crashes inside the DLL when calling KG_GenerateRegistrationKeyFromProjectW.
The Crash happens both in a 32-bit and 64-bit build.

When trying the example keygen application, i noticed that it always crashes as soon as I enter the user Information and click the Generate button, also on Windows 7.
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: keygen dll crashes on Windows 8

Post by Enigma »

Hi thsch,

We have tested the issue you reported and did not find any problem.

Did you make any customization to the keygen example, maybe project properties?

Can you please attach here a sample that crashes in your case, we will try to analyze it.
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: keygen dll crashes on Windows 8

Post by Enigma »

PS: tested on Windows 8 x86/x64 and Windows 2012 Server.
thsch
Posts: 4
Joined: Fri Feb 07, 2014 3:27 pm

Re: keygen dll crashes on Windows 8

Post by thsch »

Hi,

Ok, regarding the examples I figured out that only the KeyGenUnicode example has the problem and ony in Debug build, Release build seems to work (however I should mention that in order to be able to do the Release build I had to change character type to Unicode in the Project properties).

I have now attached a small example program that shows the problem - it crashes inside the KG_GenerateRegistrationKeyFromProjectW function, in contrast to the real key generation application this one also crashes on Windows 7.
Attachments
LicenseGenerator.zip
(14.71 KiB) Downloaded 1070 times
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: keygen dll crashes on Windows 8

Post by Enigma »

Hi, glad that the issue is solved. We have tested it carefully and did not find a problem anyway.

Same project that you attached, built with Unicode, with VS 2013, in Debug configuration does not show any problem.

In case you will have a chance, can you please send us all binary files (here in the forum, or at support@enigmaprotector.com) that reproduces this problem?
thsch
Posts: 4
Joined: Fri Feb 07, 2014 3:27 pm

Re: keygen dll crashes on Windows 8

Post by thsch »

Hi, I have attached the binaries, i.e. the exe and the keygen.dll (which is the one from the latest Enigma Version but obviously it has not changed since Dec 2012).
Attachments
LicenseGenerator.zip
(168.03 KiB) Downloaded 1192 times
thsch
Posts: 4
Joined: Fri Feb 07, 2014 3:27 pm

Re: keygen dll crashes on Windows 8

Post by thsch »

Hi, I have just updated to the latest Enigma Version (4.20) and tested the key generator on Windows 8.1.
The 32-bit version now works.

However, the 64-bit version still crashes, which is not really surprising as the kegen64.dll included in version 4.20 seems to be the same as in the version 3.130.
Post Reply