mb_get_dll_filename

Previous  Next

 

int mb_get_dll_filename( char* lpszFileName, BOOL bFolderOnly ) 

 


 

Returns the name of the MyBASIC2 DLL file.  Set bFolderOnly if you only want the folder where the DLL file is located.  The function returns the number of characters copied to the lpszFileName parameter.

 

Example

 

char folder[_MAX_PATH];

 

mb_get_dll_name( folder, TRUE );