could not register the window class

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
hahac_299066
Level 1
Level 1

Hello, I have some problem when I use "CyUSB.dll", when I run my app, the first run it, everything is ok, but for the second time, I got a message, I don't know what's that mean, could anyone help me fix it.

pastedImage_1.png

I use .NET4.X,

I don't program it By Visual Studio, It works fine when I develop and debug the device by Visual Studio.

0 Likes
1 Solution

Hi Han,

It seems that the similar issue is addressed in the following post. Could you please refer it and update if the solution works for you or not.

https://stackoverflow.com/questions/9969524/registerclass-error-in-unity-editor-when-using-mono-winf...

Thanks & Regards
Abhinav

View solution in original post

0 Likes
3 Replies
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

Please post code snippet of your application and how you have built the same.

Best regards,

Srinath S

0 Likes
lock attach
Attachments are accessible only for community members.

Dear,

you can check the attached file

void Start() works when the app first run

other code you just have a quick look.

When I fist run, everything works fine, but the second time or third time, there is an error as I mentioned.

Han

0 Likes

Hi Han,

It seems that the similar issue is addressed in the following post. Could you please refer it and update if the solution works for you or not.

https://stackoverflow.com/questions/9969524/registerclass-error-in-unity-editor-when-using-mono-winf...

Thanks & Regards
Abhinav

0 Likes