When launching my app I get the message "Unable to execute file for security reasons." I thought getting a developer certificate and UID in the protected range would fix it but it didn't code is below.
XXAppUi.h
CAknKeySoundSystem* iKeySounds;
XXAppUi.cpp
iKeySounds = KeySounds();
iKeySounds->AddAppSoundInfoListL(R_MYAPP_SOUND_LIST);
XX.rss
RESOURCE AVKON_SOUND_INFO_LIST r_myapp_sound_list
{
list =
{
AVKON_SOUND_INFO
{
sid = ERoshamboSoundWin;
file = "\\private\\20025B5B\\whoopy.au";
volume = 5;
},
AVKON_SOUND_INFO
{
sid = ERoshamboSoundLose;
file = "\\private\\20025B5B\\yeowch.au";
volume = 5;
},
AVKON_SOUND_INFO
{
sid = ERoshamboSoundDraw;
file = "\\private\\20025B5B\\boing_1.wav";
volume = 5;
}
};
XX.pkg
"C:\Symbian\Carbide\workspace\RockPaper\gfx\whoopy.au"
-"!:\private\20025B5B\whoopy.au"
"C:\Symbian\Carbide\workspace\RockPaper\gfx\yeoch.au"
-"!:\private\20025B5B\yeowch.au"
"C:\Symbian\Carbide\workspace\RockPaper\gfx\boing_1.wav"
-"!:\private\20025B5B\boing.wav"
I also tried using \resource\apps\<soundfile> location, no luck.
Thanks!!




