Page 1 of 1

Adding Resources to Carbide (in an EPK)

PostPosted: May 12, 2008 @ 3:40pm
by g9icy
How is an EPK file added to the resource list for a carbide symbian s60 project?

I need to be able to build and view the resulting executable in the emulator, the source of which uses an epk file for resources (and won't run without it).

EdgeBuilder can't (afaik) build emulator executables, so I can't use that to create the resulting executable/sit.

Thanks,
-g9

PostPosted: May 13, 2008 @ 7:36pm
by edge

PostPosted: Aug 23, 2008 @ 12:00pm
by davidcosta
Hi,
I use this in my S60 3rd edition project, and it works well.
But when i try to do this in my S60 2nd edition FP3 the application don't start.
If i put the EPK file in another place, everythink works, except the ClassEFile::Open method (normal, the file is not found).

Do you have an idea ?
Thanks

Regards
David

PostPosted: Aug 27, 2008 @ 8:13pm
by edge
Hi David,

For old series 60 devices you need to change the installation path of your resource files. For a template, look here: http://www.edgelib.com/index.php?node=828 (look at the topmost code block).

For your application it could be:
"test.epk"-"!:\system\apps\your_appname\test.epk"

PostPosted: Aug 29, 2008 @ 9:21am
by davidcosta
Hi Edge,

I have already test that. but when i put this line in the helloworld package. The application start and stop imediatly.

"C:\MyApp\res\MyEpk.epk"-"!:\system\apps\helloworld\MyEpk.epk".

Have an idea ?
Regards
David

PostPosted: Aug 29, 2008 @ 10:38am
by davidcosta
RE Hi Edge,

Sorry, i have sayd something wrong.
It works well. My problem came from my trace methode that used "fopen". Apparently there is some problem with 'fopen'.

Regards
David