This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Adding Resources to Carbide (in an EPK)


Adding Resources to Carbide (in an EPK)

Postby g9icy » May 12, 2008 @ 3:40pm

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
g9icy
pm Member
 
Posts: 4
Joined: Apr 22, 2008 @ 6:02am


Postby edge » May 13, 2008 @ 7:36pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby davidcosta » Aug 23, 2008 @ 12:00pm

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
davidcosta
pm Member
 
Posts: 8
Joined: Jan 22, 2008 @ 9:20pm


Postby edge » Aug 27, 2008 @ 8:13pm

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"
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby davidcosta » Aug 29, 2008 @ 9:21am

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
davidcosta
pm Member
 
Posts: 8
Joined: Jan 22, 2008 @ 9:20pm


Postby davidcosta » Aug 29, 2008 @ 10:38am

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
davidcosta
pm Member
 
Posts: 8
Joined: Jan 22, 2008 @ 9:20pm


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum