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

GapiDraw with Symbian 60 EXE files


GapiDraw with Symbian 60 EXE files

Postby subbie » Feb 3, 2004 @ 5:17am

Has anybody had any luck (or even tried) getting gapi to work for symbian 60 exe?

I tried tonight making the changes to the Minimal demo to have to work as an EXE but the program keeps quiting out before it even starts. I have programs I have gotten to work in exe form on symbian 60 but I can't get the gapidraw Minimal demo to work.

Anybody from the gapi team have a test demo of gapi working in an exe insted of an app?

I need to use EXE due to a pc program I have ported to symbian 60 (which has heavy use of global varibles).
subbie
pm Member
 
Posts: 9
Joined: Jan 28, 2004 @ 4:49pm
Location: Montreal, QC


Postby jonasb » Feb 3, 2004 @ 12:33pm

It is possible to use the dll from an exe, and yes, we have tried it. The imageloader doesn't work from en exe, though. You also need to provide your own framework, since GapiApplication is designed for apps.

If global variables is your only reason for wanting to use an exe instead of an app I suggest that you check out the Dll::Tls approach discussed in
.

/Jonas
User avatar
jonasb
pm Member
 
Posts: 27
Joined: Aug 26, 2003 @ 10:08pm
Location: London


Postby subbie » Feb 3, 2004 @ 7:32pm

subbie
pm Member
 
Posts: 9
Joined: Jan 28, 2004 @ 4:49pm
Location: Montreal, QC


Postby jonasb » Feb 4, 2004 @ 2:46pm

User avatar
jonasb
pm Member
 
Posts: 27
Joined: Aug 26, 2003 @ 10:08pm
Location: London


Postby subbie » Feb 6, 2004 @ 6:57pm

Jonasb,

I just tried your example out but it does not work. It seems to crash in "m_gapidraw = new CGapiDraw();"

This is for Sybman 60 (6.1 C++ SDK). Anything missing that would cause the crash?
subbie
pm Member
 
Posts: 9
Joined: Jan 28, 2004 @ 4:49pm
Location: Montreal, QC


Postby subbie » Feb 10, 2004 @ 5:42am

subbie
pm Member
 
Posts: 9
Joined: Jan 28, 2004 @ 4:49pm
Location: Montreal, QC


Postby ruis » Feb 10, 2004 @ 2:29pm

User avatar
ruis
pm Member
 
Posts: 41
Joined: Nov 3, 2002 @ 5:00pm
Location: Sweden


Postby subbie » Feb 18, 2004 @ 9:25pm

subbie
pm Member
 
Posts: 9
Joined: Jan 28, 2004 @ 4:49pm
Location: Montreal, QC


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

cron