But maybe the requirement to have only one exectuable was because of an easier installation procedure. I could imagine, that only one lib is used at the end. So it would be possible to create 2 applications, each linked with one version of the lib, and bundle them into one .prc which decides which application (or better lib) is to used at startup and create the correct .prc at the handheld with DmCreateDatabaseFromImage or VFSExportDatabaseToFileCustom or what ever?

understandable?
Henk

Ben Combee wrote:

At 17:49 2002-10-28 +1100, you wrote:

What about creating 2 seperate, hidden applications. Each is linked to a
different version of the static lib, and each responds to launch codes to
call functions in the static lib it is linked with. Then your main app
simply sends launch codes to either of the 2 apps... Would that work??

That was something I was thinking of, but it wouldn't work well if the static library requires global variables, as you wouldn't be able to start the library with globals -- even if you did have that, you wouldn't keep globals consistent between launches.


--
-------------------------------------------------------------------------
[EMAIL PROTECTED]                                       www.metaviewsoft.de

<A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
<IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg";></A>
-------------------------------------------------------------------------


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to