Hi.
Yes, I know I don't want to add any extra capabilities, but some of the replies to the posters' having same problems insisted that the capability is required. I did, however remove it when it did not produce the wanted effect. I wanted to say this so it would not be suggested.
The PKG-file
Code:
&EN
#{"My Great Product"},(0x2001B80B),0,1,1,TYPE=SISAPP
;Localised Vendor name
%{"My Great Company Ltd"}
;Unique Vendor name
:"My Great Company"
;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}
"\EPOC32\RELEASE\GCCE\UREL\MyGreatProductService.exe"-"!:\sys\bin\MyGreatProductService.exe"
"\EPOC32\RELEASE\GCCE\UREL\MyGreatProductService.dll"-"!:\sys\bin\MyGreatProductService.dll"
"\EPOC32\RELEASE\GCCE\UREL\MyGreatProductServer.exe"-"!:\sys\bin\MyGreatProductServer.exe", FR, RI
; Add as startup item
"\EPOC32\DATA\Z\resource\apps\2001B80B.rsc"-"c:\private\101f875a\import\[2001B80B].rsc"
And the MMP for the file to be run
Code:
#include "MyGreatProductUid.h"
TARGETPATH \sys\bin
TARGET MyGreatProductServer.exe
TARGETTYPE exe
CAPABILITY MyGreatProduct_SERVER_CAPS
EPOCSTACKSIZE 0x5000
UID 0x0 KMyGreatProductServerUid
SYSTEMINCLUDE \epoc32\include
USERINCLUDE ..\WhoppingService\inc
USERINCLUDE ..\MyGreatProductService\Interface\Inc
USERINCLUDE .\
LIBRARY euser.lib
LIBRARY flogger.lib
LIBRARY bafl.lib
LIBRARY efsrv.lib
LIBRARY esock.lib
LIBRARY insock.lib
LIBRARY estor.lib
LIBRARY MyGreatProductService.lib
START RESOURCE ..\Hostlet\rss\2001B80B.rss
TARGET 2001B80B.rsc
TARGETPATH \resource\apps
END
SOURCEPATH ..\Hostlet\src
SOURCE Main.cpp WhizzingServer.cpp AmazingArray.cpp PerfectObject.cpp MyGreatProductServer.cpp
Thanks,
:)Mikko