Hi,
Thanks a Lot for response.
I am not doing any thing specific in open and close methos.
I am using standard implementation i.e. calling SysLibFind and SysLibLoad
methods.
WIll it affect ny applciation's performance.
rgds,
Ritu

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ben
Combee
Sent: Tuesday, June 01, 2004 9:57 AM
To: Palm Developer Forum
Subject: Re: Shared Libraries - Urgent please help


At 10:39 PM 5/31/2004, you wrote:
>Hi,
>
>
>I have some queries about shared libraries
>
>a) Can i keep shared library open for long.or it can cause some issues.I
>have read that it may lead to memory curruption.

There are no issues with keeping a shared library open in general.  The
only consequences would be any resources that the library allocates when
open would by occupied, plus the fact that the code resource of the library
is locked in memory.

>b) Does openeing and closing  of shared library again and again can cause
>performance oevrhead.
>If i create an application which opens and closes two sharelibraries very
>frequently is it going affect the performance of the application?

There's not much OS overhead, it just depends on what you do in your
open/close code.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
    Read "Combee on Palm OS" at http://palmos.combee.net/



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


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

Reply via email to