R.Wieser
unread,Oct 23, 2022, 4:26:48 AM10/23/22Sign in to reply to author
Sign in to forward
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello all,
I'm trying to create a 3D scene using DirectX, but see CreateDevice fail
when the program is started from within the console (it runs OK when
double-clicked in the GUI).
Currently I've got a hack in place which consists of forcing a switch to GUI
mode by creating a self-closing, never actually displayed dialog. I would
like to replace it with something more elegant.
I'm aware of a call which will force a console program to GUI mode (needing
a Std* handle), but as my program is a GUI mode one ...
So, does anyone here knows of a (preferrably standard) way how to handle it
?
Regards,
Rudy Wieser