This site is no longer active and is available for archival purposes only. Registration and login is disabled.

OpenDisplay fails with GDERR_UNSUPPORTEDMODE


OpenDisplay fails with GDERR_UNSUPPORTEDMODE

Postby Dan East » May 15, 2003 @ 5:35pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Presto » May 15, 2003 @ 5:53pm

User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby Dan East » May 15, 2003 @ 6:13pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Johan » May 15, 2003 @ 7:09pm

Some ideas:
(1) Check that the thread calling OpenDisplay() is the same that created the window
(2) Check so that the window really is the top parent window

The PPC doesn't care for the rest of the flags...
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Dan East » May 15, 2003 @ 7:32pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Dan East » May 15, 2003 @ 7:51pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Johan » May 16, 2003 @ 8:29am

Hi Dan,

Look at the included "MFC" sample. It was created by:

(1) Creating a new application without doc-view
(2) Removing the view class
(3) Adding event handlers to the frame window class
(4) Adding a new thread (since the message pump is hidden within MFC - ProcessNextFrame needs to be separated)

The MFC sample uses MFC and works with GapiDraw 2.01. Perhaps you are not using the CFrameWindow class?

//Johan
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Dan East » Jun 14, 2003 @ 5:52pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Johan » Jun 15, 2003 @ 6:20pm

Thanks for the info, I didn't know that.. I'll add it to the "known issues" list at gapidraw.com. Glad to hear the issue got resolved!
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum