I'm using this project:
\The Enigma Protector\Examples\KeyGen\C# (.NET)\
When KG_GenerateRegistrationKey is called, I get an exception error:
BTW, I'm Using Visual C# 2010 Express.System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Enigma_KeyGen_IDE.KG_GenerateRegistrationKey(TKeyGenParams& kg)
at Test.frmMain.btnGenerate_Click(Object sender, EventArgs e) in C:\The Enigma Protector\Examples\KeyGen\C# (.NET)\frmMain.cs:line 1102
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
And Enigma's keygen.dll is located in the same directory as the executable.