now I'm using IF URLDOWNLOADTOFILE( 0,cUrl , cZipFile) =0 lreturn := .t. else lreturn := .f. endif DLL FUNCTION URLDOWNLOADTOFILE( pCaller AS LONG, cUrl AS LPSTR, cFileName AS LPSTR, nReserved AS DWORD, nFnCB AS LONG ) AS LONG; PASCAL FROM "URLDownloadToFileA" ...
oImport:=TImport():New() IF FW_ExcelToDBF( oRange, nil, .t. ) lreturn :=.t. ENDIF give me error wich is the right command ? Error Error occurred at: 19-01-2022, 13:39:00 Error description: Error DBCMD/2001 Workarea non in use: DBINFOStack ...
... RETURN Self could i create another method for order search? example METHOD SearchInvoice(nInvoice,oPre,oRes) CLASS TReserva local oRes,lReturn:=.f. oRes:setOrder(res_pre) If oRes:seek(Invoice) oPre:=:=oRes:record() lreturn :=.t. else msginfo("error") endif return lreturn :=.t. ...
... in my program: SetHelpFile("our Helpfile") as my helpfiles are online I changed help32.prg static function IsHelpFile( cHelpFile ) local lReturn := .F. return lReturn //-----------------------------------------------------------------------// FUNCTION HelpIndex( ) // activa F1 local cHelpFile ...
... if an error occurred while attempting to open a table: LOCAL oDB AS DBServer LOCAL dwError AS DWORD LOCAL pacError AS PSZ LOCAL wLen AS WORD LOCAL lReturn AS LONGINT pacError := MemAlloc( 200 ) wLen := 200 RDDSETDEFAULT("AXDBFCDX") oDB := DBServer {"d:\demo10.dbf", DBShared,, ...
... IF calsslib(ngiorno,nore,nora) ... the function I found on old clipper app I must converte static function GIORNOLIB(nGiorno, nOre, nOra) Local lreturn := .f. if (Val(do->giornoli) == nGiorno .AND. nOra == 1 .AND. ; do->punti < "3" .AND. Val(do->giornoli) == nGiorno ; .AND. ...
... IPAdd AS LPSTR, Portl AS LONG ) AS BOOL PASCAL LIB "xxxxxx.dll" Thisis my code... PUBLIC hDLL := LoadLibrary("xxxxxx.dll") lReturn:=Conectar("192.168.1.1",9999) MsgInfo( lReturn ) FreeLibrary( hDLL ) But I get a nil value, instead of .T. or .F. What am I doing ...
... IPAdd AS LPSTR, Portl AS LONG ) AS BOOL PASCAL LIB "xxxxxx.dll" Mi codigo es este... PUBLIC hDLL := LoadLibrary("xxxxxx.dll") lReturn:=Conectar("192.168.1.1",9999) MsgInfo( lReturn ) FreeLibrary( hDLL ) Pero siempre obtengo NIL, no .T. o .F. como espero Cualquier ...