I assume your difficulty is that you do not know (at compile time)
the name of this potential third version of the shared library?

Perhaps you could find the shared libraries based upon creator ID
and type, with the assumption that any shared libraries with
the proper crid & type would (by definition) be a shared library
that implements your API .

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!

"sridhar lanka" <[EMAIL PROTECTED]> wrote in message
news:47473@palm-dev-forum...
>
> Hi All,
>
> I have a footprint application FootPrint.Prc, which
> uses two shared libraries namely FirstShLib.Prc and
> SecondShLib.Prc. Both these shared libraries have same
> function call ExecuteShLib(Char* name, UInt16
> LibrefNum) to access them. Now dynamically i determine
> which library has to be used and i call the function
> from footPrint.prc
>
> When i implemented this if i open one library
> (FirstShLib.prc) execute, close and remove from
> SysLibTable, I am unable to open and use other library
> (SecondShLib.prc).
>
> Note: Both have same function calls with same
> parameters.
>
> How to implement this. Let's imagine tomorrow I get
> another shared library which i want to include to my
> footprint application but i don't want to modify
> anything in foot print application how can i
> dynamically add another shared Library.
>
> My requirement is that to add a shared library
> dynamically, which will have same function call
> ExecuteShLib(Char* name, UInt16 LibrefNum) without
> modifying the foot print application.
>
> Any help will be of great use.
>
> Thanks in advance,
>
> Regards,
> Sridhar Lanka
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
>



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

Reply via email to