Re: [Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Itamar Lins wrote: Itamar, > >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 > Sorry my fault, return of valtype is 'N'. Value is 0. > Very busy for here... :( I still have no idea what you are te

Re: [Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Itamar Lins wrote: Hi Itamar, > >VALTYPE() can never return '0'. > >HB_LIBLOAD() will return empty value (NIL) on failure > >and pointer on success. > Yes, the return is "U" undefined if not found file dll. > And 0 if run ok. You used to ignore answers. Valtype cannot rerurn

Re: [Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Viktor Szakáts
>>> 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? >>> */ >>> >>> Best regards, >>> Itamar M. Lins Jr. >>> >>> >> >> Yes, because r