318 Subj : dll error To : borland.public.cpp.borlandcpp From : Jesús A. Bermúdez Silva Date : Fri Jun 11 2004 03:14 pm Thank you for any replies. I have an application written in BC++ 5.02 which uses a dll. I have developed this under Windows XP and under such platform it works fine, but under other Windows platforms it fails, eg under Windows 98 and Windows 2000 I get the message dll not found, ie. the error code ERROR_DLL_NOT_FOUND The code is as follows HINSTANCE dllLib; dllLib = LoadLibrary("garfio"); if ((unsigned) dllLib == NULL) { error message... } else .... I place the dll garfio in the same folder as the application that uses it. Any suggestions why it fails in other platforms? Thank you Jesús . 0