On Jan 4, 2010, at 3:49 AM, Laurent Godard wrote:

> Hi
> 
> may be have a look at BasicLibraries.loadLibrary
> here is a rough example
> 
> Laurent
> 
> 
> function loadMyLib(optional pwd)
> 
>       if isMissing(pwd) then
>               pwd = false
>       endif
> 
>       if not BasicLibraries.isLibraryPasswordVerified("My_Lib") and pwd then
>               chkpwd = 
> BasicLibraries.verifyLibraryPassword("My_Lib","thePassword")
>       endif
>       
>       BasicLibraries.loadLibrary("My_Lib")
> 
> end function

Thanks!  I'm not using anything with passwords, so just the 
BasicLibraries.LoadLibrary("HalLib") did it fine for me.  But the other stuff 
will be helpful if I use a password in the future, which is a possibility.

I realized I had used the DialogLibraries.LoadLibrary() function in other parts 
of that library, but since my testing had been done in all the libraries, I 
guess when I was writing them, it never showed up that I had to load other 
libraries in that case.

Thanks!



Hal
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to