2

Resolved

Software Protector crash

description

The program crashes when trying to generate a key. Looks like my date format 7/14/2012 in the creation date box is causing the problem.
 
************** Exception Text **************
System.InvalidCastException: Conversion from string "7/14/2012" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
at g.a(Int32 A_0, Boolean[] A_1, String A_2, Int32 A_3)
at SKGL.Generate.doKey(Int32 _timeLeft)
at Software_Protector.main_form.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
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.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

comments

artemlos wrote Jul 18, 2012 at 5:28 PM

Hi Stumpii,
Thank you for reporting this issue with key generation. Unfortunately, the problem was caused already in the SKGL Project, but is now fixed! Without your help, I probably would not figured that out, because my date format is a bit different (yyyy-MM-dd).

Now, it should work much better to generate serial keys!

Thank you again for helping me! If you have time, could you please check if it works this time? :)

Good Luck!

Regards,
Artem Los

wrote Jul 18, 2012 at 5:29 PM

artemlos wrote Aug 14, 2012 at 6:44 PM

** Closed by artemlos 7/18/2012 10:29 AM

artemlos wrote Aug 14, 2012 at 6:44 PM

wrote Aug 14, 2012 at 6:44 PM

wrote Feb 14, 2013 at 7:40 PM

wrote May 16, 2013 at 9:50 AM

wrote May 16, 2013 at 9:50 AM

wrote Jun 14, 2013 at 7:14 AM