On unix (that is to say Solaris and Linux, and possibly others) you use
dlopen() (in place of LoadLibrary), dlsym() (in place of GetProcAddress),
and dlclose() (in place of FreeLibrary). They work in a pretty similar
fashion to their Windows counterparts. On HP-UX however, you would want to
use shl_load(), shl_findsym(), and shl_unload().

-----Original Message-----
From: Greg Obleshchuk [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 09, 2003 8:45 PM
To: [EMAIL PROTECTED]
Subject: [sqlite] Left field question about non windows platforms


Hi ,
This may seem like a question un-related to SQLite but there is a link.

On Windows platform to dynamically load a DLL into your program you use
LoadLibrary and GetProcAddress to get the reference to an exported function
in the DLL.

My question is how do non Windows platforms do this?  

regards
Greg O

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to