mb_load_library |
![]() ![]() |
status_t mb_load_library( LPCTSTR lpFileName, LPCTSTR lpDefDir )
Loads a library into the interpreter. This function shouldn't normally be used by host applications. It will search default folder first, then try the MyBASIC2_Lib environment variable and finally it will use the OS search order.
Example
HANDLE hLib = mb_load_library( "MyLibrary.DLL", NULL );
|