Page 1 of 1

wxExecute error 299

Posted: Thu Apr 08, 2021 9:50 am
by Natulux
Hey guys,

I used wxExecute alot and it worked so far for me nicely.
Now I get on just some machines (not on mine) the error 299 (see attached picture) with the old school wxWidgets 2.9.2 (not sure if wxExecute changed since then).
Error299.png
Error299.png (63.45 KiB) Viewed 4846 times
Oddly enough the Execute works in an second attempt (Execute in a timer).
Does anyone have any insight in what is happening behind the curtains?
Should I just try to catch the error with either try/catch and/or wxLogNull?

Have a great day
Natulux

EDIT: wxLogNull supresses the message. So the only question remaining is if the error could have been prevented in the first place.