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

Quit problem


Quit problem

Postby patrickwai » Jan 29, 2007 @ 9:49am

patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Jan 29, 2007 @ 9:51am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Jan 29, 2007 @ 10:27am

patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Jan 29, 2007 @ 12:11pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Jan 30, 2007 @ 3:22am

patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby patrickwai » Jan 30, 2007 @ 7:03am

Hi Edge,

I'm using Visual C++ 2005 Express for development and the problem does not happen in desktop. Is it possible to emulate the real device for debugging?

Thanks
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Jan 30, 2007 @ 10:53am

Hi Patrick,

There are emulator debug libraries available for UIQ 3.0 and Symbian 9.1 in the Edge SDK.

You can use the emulator libraries to create an emulator build using CarbIDE or a commandline project.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Jan 30, 2007 @ 11:18am

Hi Edge,

Would you tell me how to use commandline project to build the emulator for symbian 9.1?
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Jan 30, 2007 @ 11:28am

Hi Patrick,

You can use the Edge getting started tutorial on how to create a commandline project, or you can use the Helloworld sample as a template.

Make a few minor adjustments to build for the emulator:
- The \private\10003a3f\import\apps resource paths will be changed to \private\10003a3f\apps in the mmp file
- The command for building your project will be changed from gcce urel to winscw udeb

If the build is successful, start the emulator and the program should be added.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Jan 31, 2007 @ 11:56am

Hi Edge,

I use "abld reallyclean" for 9.1 devices to delete the exported files and rebuild the project, am I do right?

Thanks
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Jan 31, 2007 @ 2:21pm

Hi Patrick,

We usually use the abld clean command which should work in most cases. If reallyclean is also accepted as a parameter, we suggest using that :)
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Feb 2, 2007 @ 7:02am

Hi Edge,

I did this in the Helloworld sample:

class ClassMain : public ClassEdge
{
public:
.
.
.
.
void Exit();
};

void ClassMain::Exit()
{
Quit();
}

After building for Symbian 9.1 plateform, the program cannot terminate in N80. This problem does not exist with Symbian 6.1.
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Feb 2, 2007 @ 8:34am

Hi Patrick,

The problem probably comes from the function definition. Exit() is also used as a Symbian internal function to terminate the application.

Would you like to try the following?:
- Rename it to Exit2 or give it another name
- From ClassMain call this->Exit() instead of Exit()

Please tell me if any of the above solutions work.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby patrickwai » Feb 2, 2007 @ 9:16am

Hi Edge,

Is Exit() a new function in Symbian 9.1? Since this problem does not exist in old version.

Thanks
patrickwai
pm Member
 
Posts: 29
Joined: Jan 12, 2007 @ 2:24am


Postby edge » Feb 2, 2007 @ 9:27am

Hi Patrick,

No, Exit has been around since the first version of Symbian. However, the new compiler shipped with Symbian 9+ might prefer the global Exit() function to the class' internal function.

Please tell me if my suggestions worked, then we can add it to the edgelib FAQ.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Next

Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

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