Read-only archive of the All About Symbian forum (2001–2013) · About this archive

OPO-->SIS, Anther hint if u please...

2 replies · 1,838 views · Started 26 May 2003

Ok, I got my first app (not sofisticated and still some quirks i haven't figured yet) but i still need some help.

Development was done on the N9210i itself (No SDK).

I split my app into 2 OPL files. The first one is mycore.opl which deals with the "general stuff" of each future application (event loop, keyboard events, CBA events, clocking, etc...) This module receives the data it needs from the "real application" via globals and calls the procedures of the "real applications" according to the events.
As i mentioned in an earlier post, this core module should be a fixed one, and is supposed to help the programmer concentrate on the "real application" itself. This was translated into mycore.opo.

The second file is app1.opl which sets the globals needed to pass to mycore and then loads it
by: LOADM "mycore", and does the real work. This was translated into app1.opo.

When running app1.opo everything works fine.

Now i want to make an "application" out of this, so i used the APP...ENDA to produce the app1.app file, but when running it, it could not find mycore in the LOADM statement.

So my questions are:
1) How do i make an APP out of TWO modules? Anyone tried that?

2) Once this is achieved, can i copy the app1.app file + mbms + icons to the PC and use makesis to make a distributable application?

10x in advance,
NBP

When you ran your .opo file, which in turn loaded an .opm file, I assume both were located in the folder you use for your development.

Then you are making .opo of them into an .app file using the APP...ENDA. The .app will now run from X/System/Apps/ApplicationName - where X is either C or D - and not anymore from your development folder. It will look for the .opm file - IIRC - either in this folder or in X/System/Opm/ApplicationName. Are you sure you moved the .opm file to any of these folders?

cheers
Martin

Of course i did NOT! Silly me.
I have an .opo file (not .opm). When i copied it (and the mbm file) to the folder created by translating the APP...ENDA , everythink went fine.

Now i'll try makesis.

10x,
NBP