\src\msw\window.cpp(643): 'SetFocus' failed with error 0x000

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
happywilma
Earned a small fee
Earned a small fee
Posts: 12
Joined: Thu Nov 17, 2011 3:30 am

\src\msw\window.cpp(643): 'SetFocus' failed with error 0x000

Post by happywilma »

at first , everything was ok, but suddenly I restarted my program and UI couldn't display , and I close the ".exe" ," \src\msw\window.cpp(643): 'SetFocus' failed with error 0x000" ,saw this error. I searched a lot,but didn't find an effect method to solve it . anybody happened to it?
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Re: \src\msw\window.cpp(643): 'SetFocus' failed with error 0

Post by Auria »

Can you obtain a backtrace from your debugger for this issue
"Keyboard not detected. Press F1 to continue"
-- Windows
happywilma
Earned a small fee
Earned a small fee
Posts: 12
Joined: Thu Nov 17, 2011 3:30 am

Re: \src\msw\window.cpp(643): 'SetFocus' failed with error 0

Post by happywilma »

when I delete "SetAppName(**)" ,everything is ok. But I don't know why?
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Re: \src\msw\window.cpp(643): 'SetFocus' failed with error 0

Post by Auria »

maybe you can show the exact code
"Keyboard not detected. Press F1 to continue"
-- Windows
Post Reply