> Probably the best thing to do though, is just to export two methods: > void yourlib_startup(void); > void yourlib_close(void); The idea being that a client should call these messages after opening / before closing the shared library?