PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

problem with OpenDisplay function

hi

using application with createwindow and with message loop ( post an dispatch message) when I start OpenDisplay with hWnd my application will terminate.
Well. Um. Ok. Too bad. You probably did something wrong with your messaging loop (my guess is your hWnd is invalid).

Look at the source code to CGapiApplication ("include/CGapiApplication.h") for tips on how to do it right...

/Johan