Sunday, October 28, 2007

Minimal Symbian V9.x FrameWork Required to Start a Console Application

Assuming that my Applcation name is MyApp.exe

MyApp_req.rss

#include <appinfo.rh>

UID2 KUidAppRegistrationResourceFile
UID3 0x<your UID>

RESOURCE APP_REGISTRATION_INFO
{
app_file="MyApp";
}

MyApp.MMP to Compile registration file.
START RESOURCE    <your app>_reg.rss
#ifdef WINSCW
TARGETPATH \private\10003a3f\apps
#else
TARGETPATH \private\10003a3f\import\apps
#endif
END


Add this line your PKG File to install the registration File {MyApp_reg.rSC}
"...epoc32\release\data\z\\private\10003a3f\import\apps\MyApp_reg.rsc"-"!:\private\10003a3f\import\apps\MyApp_reg.rsc"

No comments:

stats counter