Em 19/05/2010 18:34, Viktor Szakáts escreveu:
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
Yes, the return is "U" undefined if not found file dll. And 0 if run ok. My tests is Win 7, with MingW, ChangeLog 14527 Best regards, Itamar M. Lins Jr. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
