PocketMatrix forums

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

failure in gapi ???

i have an mfc-application with a thread and run gapi inside. that means if i activate a button in my main window i start my thread and give the main window to gapi for drawing.
1.) but i only can start this one time !!!!!
the second time my application closes, when coming
to the point in my thread where i call drawing.

2.) but if i put a messagebox instead of drawing
it works fine and i can switch between my "main-application" with start-button and "gapidraw" inside my thread.

is there a failure in the gapi-modul????

thanks for help
Ovis
Ovis · 18 Oct 2002, 10:39 UTC — INCOMPATIBLEPRIMARY
hi again,

i got a failure in my return value (should be GD_OK).
after i do drawing the first time !!
my return value is "INCOMPATIBLEPRIMARY"

thanks.