Hello,
I’ve bought the license for CW Professional edition 3.1 and I am using it with SDK S60_3rd.
I’m becamong mad on the attempt of creating an app using the wizard:
Either it doesn’t compile, or the application is not visible in emulator!
I succeeded in this step with Eclipse + carbide (so the assumption is that the environment is properly set up),
but I need to use CW for remote debugging.
I hope someone could help me.
Approach 1: Create an application with the Wizard in CW.
============================================
. I select S60 S60_3rd + S60 APP (since I would like GUI).
. Platform WINSCW
The project is created, but ‘make’ fails complaining about:
‘undefined identifier TDllReason’
1a) My understanding is that I can remove it since is not used anymore in SDK 3.0.
Then it compiles but the application is not visible from emulator.
1b) I can replace it (as Eclipse does) with :
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
Result: COMPILES OK, BUT APPLICATION NOT VISIBLE IN EMULATOR
Approach 2: create an application from Eclipse and import it
=============================================
This solution is kindly described here:
http://discussion.forum.nokia.com/fo...ad.php?t=81519
but the freezing fails (about ?NewApplication@@YAPAVCApaApplication@@XZ @1 )
this fails even if I edit the .def file, and if I lunch the command line totol
abld freeze & abld build winscw udeb
Result: DOESN’T COMPILE.
Apporach 3: import the helloworld basic
==============================
It works. The main .cpp file has the same E32Main().
There are differences in the .mmp file (as specified in porting SDK 2 FP3 -> SDK 3 document):
Helloworld target is an .exe rather then .app, capabilities are required etc….
Approach 4: fixing generated code following helloworld code example
====================================================
. create a GUI application for S60 GUI
. replace TDllReason with E32Main as above
. change in .mmp file the target from .app to .exe and other things as specified in porting documentation
. re-import .mmp file
Result: COMPILES OK, BUT APPLICATION NOT VISIBLE IN EMULATOR
Does anyone knows why?
mik





