OK, the easiest part to explain is the bld.inf file. This file (usually) only contains the list of .mmp file used in the project (well it could contain other things, i said usually). The mmp (makmake project) file contains the specification for a project.
MMP file consist of the following things (this is not the complete list, others will be explained on my other posting, or just checkout the SDK documentation):
- Target name
- Project UID
- Target type (EXE, DLL, etc)
- Source file(s) to be compiled
- Location of the include files
- Libraries used
Now, let's go to the source code.
Without the common framework used, programming the console based hello world wouldn't be that easy. This line:
#include “CommonFramework.h”
Which has something todo with this line on the mmp file:
USERINCLUDE ..\CommonFramework
Gives us an easy way to create any console based symbian program, all we have to do is to write the doExampleL() function.
// do the example
LOCAL_C void doExampleL()
{
_LIT(KHelloWorldText,"Hello world!\n");
console->Printf(KHelloWorldText);
}
the LOCAL_C macro expands to static, LOCAL means the code is local and the _C suffix means code declaration (the ere is also LOCAL_D macro which also expands to static, _D means data declaration).
the _LIT() macro creates a static string object (I'll discuss the string classes on my other posts, it's really complex). The console->Printf(KHelloWorldText) is the line that prints the hello world. You can also do this:
console->Printf(_L("Hello world!\n");
but the former is recommended (for a reason that I will not explain right now).

Hiiiii....
i was able to know about theory concepts of UID's but wanna know its practical useage in the project and its advantage. Please do reply for this query. Even the symbian website has well Xplained its theory but pls let me know abt its useage. Waiting eagerl...........
Thanking You
Have a Great Time
Hi,
I have been working with J2ME earlier and now i want to move to Symbian C++.I dont Know abc... of it.Like MIDP API will be there any documentation where i can get the explanation of all the classes used in Symbian C++ Application development.Also suggest me which version and edition of Symbian i have go for application development and what IDE could be better for application development.i heard about VC++ and Borland C++ editor.Which one could be best plz suggest me.
Thanks for the nice blog.
I am basically C programmer and i have no knowledge of c++. My new assignment is in Symbian. Please tell me best way to ramp up quickly .. if you could from your experience give me in steps 1.2.3 to reach perfection i would be grateful. I have knowledge of RTOS nucleus on mobiles earlier. Expecting help ..
Thanks in Advance.
- coder
@coder
If you are using 3rd edition phones, just use PIPS or Open C to create your application engine in C. As for the GUI, just use Carbide C++, or else you need to learn quite a lot about Symbian GUI system.