I'm nearly sure that you would not have access to TCB on your application. So just add the ones that you would actually require, and see again what is reported for your process.
I'm nearly sure that you would not have access to TCB on your application. So just add the ones that you would actually require, and see again what is reported for your process.
i check in emulator:
mention required capabilities: ProtServ AllFiles WriteDeviceData NetworkServices ReadDeviceData,after that check in epocwind.out that shows:
*PlatSec* ERROR - Capability check failed - A Message (function number=0x00000005) from Thread SipServer.EXE[101f5d36]0001::SipServer, sent to Server !CentralRepository, was checked by Thread centralrepositorysrv.EXE[10202be9]0001::!CentralRepository and was found to be missing nothing. (An 'always fail' policy check). Additional diagnostic message: CenRep: CServerSession::GetIntL - Attempt made to read a setting
and after 3-4 line this
*PlatSec* ERROR - Capability check failed - A Message (function number=0x00000015) from Thread Sip Settings[20000001]0001::Sip Settings, sent to Server SipProfileSrv, was checked by Thread SipProfileSrv.EXE[101f413c]0001::SipProfileSrv and was found to be missing the capabilities: WriteDeviceData NetworkServices . Additional diagnostic message: Checked by CPolicyServer::RunL
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
now i check in real device in N79,got same error,i check in y-task their show Capabilities count:0
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
Assuming that "Sip Settings" is the code you are developing, make sure that it is built properly. You can list the capabilities of a Symbian executable on your PC, visit epoc32\release\GCCE\UREL (or UDEB, the one you are using) from a command line, and petran -dump s your.exe will show the UID-s and capabilities of the executable. It also works with .dll-s if you have some.
i check as u say,here the output:-
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\UREL>petran -dump h sips
ettings.exe
PETRAN - PE file preprocessor V02.01 (Build 576)
Copyright (c) 1996-2007 Symbian Software Ltd.
E32ImageFile 'sipsettings.exe'
V2.00(505) Time Stamp: 00e16c99,c9c7acc0
EPOC Exe for ARMV5 CPU
Flags: 1200002a
Priority Foreground
Entry points are not called
Image header is format 2
Image is compressed using the DEFLATE algorithm
Uncompressed size 0000f07c
Image FPU support : Soft VFP
Pageability : Default
Secure ID: 20000001
Vendor ID: 00000000
Capabilities: 00000000 00000000
Exception Descriptor Offset: 00002549
Exception Index Table Base: 000164fc
Exception Index Table Limit: 00016764
RO Segment Base: 00008001
RO Segment Limit: 0000ac24
Export Description: Size=000, Type=01
Export description consistent
Module Version: 10.0
Imports are ELF-style
ARM EABI
Built against EKA2
Uids: 1000007a 100039ce 20000001 (bcc5e151)
Header CRC: e1e218bd
File Size: 0000f07c
Code Size: 0000e764
Data Size: 00000000
Compression: 101f7afc
Min Heap Size: 00001000
Max Heap Size: 00100000
Stack Size: 00002000
Code link addr: 00008000
Data link addr: 00400000
Code reloc offset: 0000ef24
Data reloc offset: 00000000
Dll ref table count: 8
Offset Size Relocs #Relocs
Code 00009c 00e764 00ef24 00008d +0024ec (entry pnt)
Data 000000 000000
Bss 000000
Import 00e800
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\UREL>
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
wizard_hu where problem is?i paste code that shows after using petran
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
but previously i added capabilities in sipsettings.mmp file:
CAPABILITY ProtServ AllFiles WriteDeviceData NetworkServices ReadDeviceData
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
anybody??? capability already added in my sipsettings.mmp file
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
Then the code has not been re-built properly for some reason. You can try the Clean command of Carbide.c++ (in the Project menu). Then build and check the .exe with petran again.
If it does not help, delete the file (and perhaps the .sis and .sisx files - in order to make sure that they are re-generated). Then build and check the .exe with petran again.
If it still does not help, check the epoc32\BUILD folder: you will find the path of your project replicated there (so if your project is in \Work\SymbianCPP\MySIPStuff, you will find epoc32\BUILD\WORK\SYMBIANCPP\MYSIPSTUFF folder - in all upper case), containing various temporary files. Deleting them will help, it forces the toolchain to rebuild everything. Which is a bit overkill for changing capabilities, but if nothing else works, it will.
Are you sure about that you have certification for AllFiles capability?
yes ,but one thing that without any certification,atleast apps execute in emulator platform na,after that need certificate for sigmimg na?
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
yes wizard_hu that working fine,profile created.but one problem comes when click on exit emulator quit suddenly not by process,what the problem>???
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
emulator exit when i click on app exit without do anything.
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
thats working perfectly on real device.
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh