> Function TestLoadLib > Local hDll := hb_LibLoad("rmchart.dll") > MsgInfo(ValType(hDll)) > /* > The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does not > exist. > Is this correct? > */
VALTYPE() can never return '0'. HB_LIBLOAD() will return empty value (NIL) on failure and pointer on success. Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour