Page 1 of 1

GapiDraw with Symbian 60 EXE files

PostPosted: Feb 3, 2004 @ 5:17am
by subbie
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).

PostPosted: Feb 3, 2004 @ 12:33pm
by jonasb
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

PostPosted: Feb 3, 2004 @ 7:32pm
by subbie

PostPosted: Feb 4, 2004 @ 2:46pm
by jonasb

PostPosted: Feb 6, 2004 @ 6:57pm
by subbie
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?

PostPosted: Feb 10, 2004 @ 5:42am
by subbie

PostPosted: Feb 10, 2004 @ 2:29pm
by ruis

PostPosted: Feb 18, 2004 @ 9:25pm
by subbie