M
Manel G
Hi
This line works both in the debug and release mode:
Me.Cursor = New Cursor(Me.GetType(), "NoCur.cur")
After obfuscating the release exe I got this error message:
System.ArgumentNullException: Value cannot be null.
Parameter name: dataStream
at System.Windows.Forms.Cursor..ctor(Stream stream)
at System.Windows.Forms.Cursor..ctor(Type type, String resource)
How can I change the code to work after obfuscation?
Thanks in advance
MG
This line works both in the debug and release mode:
Me.Cursor = New Cursor(Me.GetType(), "NoCur.cur")
After obfuscating the release exe I got this error message:
System.ArgumentNullException: Value cannot be null.
Parameter name: dataStream
at System.Windows.Forms.Cursor..ctor(Stream stream)
at System.Windows.Forms.Cursor..ctor(Type type, String resource)
How can I change the code to work after obfuscation?
Thanks in advance
MG