Em 19/05/2010 19:25, Itamar Lins escreveu:
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.


Sorry my fault, return of valtype is 'N'. Value is 0.
Very busy for here... :(

best regards,
Itamar M. Lins Jr.


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to