Search found 15 matches: cfarproc

Return to advanced search

Re: Utilizar funciones de una dll con harbour

... := If( ValType( "user32.dll" ) == "N", "user32.dll", LoadLibrary( "user32.dll" ) ) ; local uResult ; local cFarProc ; if Abs( _hDLL ) > 32 ; cFarProc = GetProcAdd( _hDLL, If( Empty( "GetWindowTextA" ) == .T., "GetTextW", "GetWindowTextA" ...
by Xevi
Mon Dec 10, 2018 8:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Utilizar funciones de una dll con harbour
Replies: 6
Views: 1334

Re: call a dll32 function

... them like Function XSetProxYSSL( nChan, nFlags, cPDir, cPCert, cPEXE ) *----------------------------------------------------- local uResult local cFarProc if Abs( hDLL ) > 32 cFarProc := GetProcAddress( hDLL, "seeSetProxySSL",.T.,_INT,LONG,LONG,LPSTR,LPSTR,LPSTR) // 32 Bits uResult ...
by jorjio
Fri Jun 06, 2014 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: call a dll32 function
Replies: 8
Views: 2064

Re: Win7 + EZTW32.DLL problem?

... Self METHOD End() IF ::hDib != 0 ::Free( ::hDib ) Endif FreeLibrary( ::hDll ) Return .T. METHOD DigiToFile(cFILE,nRES) LOCAL nPixType := 0 LOCAL cFarProc DEFAULT nRes := 100 ::SetResolution( nRes ) IF ::lLoad cFarProc := GetProcAddress( ::hDLL, "TWAIN_AcquireNative",.T., WORD,WORD,_INT ...
by vensanto
Wed Aug 18, 2010 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Win7 + EZTW32.DLL problem?
Replies: 14
Views: 5252

Re: DLL functions usage in Win 7

Antonio, I already did this as the forst thing to detect where is the problem. it hags on every place where I call n = CallDLL(cFarProc , c3) for example. I must say that this kind of call when compiled on Windows 7 OS will NOT work!!! I am using one DLL which controls the dongle attached ...
by codemaker
Sun Jul 04, 2010 9:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL functions usage in Win 7
Replies: 10
Views: 3389

Re: DLL functions usage in Win 7

Nobody is compiling on Windows 7 OS and also using the programs that uses DLL functions?? Nobody has problems using this syntax: cFarProc := GetProcAddress(hDLL, "iSEDUnlockKey",.T.,LONG, STRING) cString := "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"" // This is the UNLOCK ...
by codemaker
Fri Jul 02, 2010 12:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL functions usage in Win 7
Replies: 10
Views: 3389

Re: need tcrw.prg for 32 bit

... you are directing the report to a printer // ========================================================================== */ METHOD PEOPEN_() LOCAL cFarProc LOCAL cFunc := "PEOpenEngine" IF ::l32 cFarProc := GetProc32( ::hDLL, cFunc, .T., LONG ) ::lError := ( CallDll32( cFarProc ) == FALSE ...
by jll-fwh
Sun Feb 14, 2010 3:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: need tcrw.prg for 32 bit
Replies: 1
Views: 1316

Re: Crystal Report - Parametros de Impresión

... cPort) No tCRW.PRg coloque isto: MESSAGE SetPrinter32 METHOD SetPrinter32_ + Method SetPrinter32_( cDriver, cPrinter, cPort) LOCAL nRet LOCAL cFarProc := "PESelectPrinter" cFarProc := GetProcAdd( ::hDll, cFarProc,.T.,_INT,LONG,LPSTR ,LPSTR,LPSTR,LONG) nRet := CallDll( cFarProc, ::nJobHandle, ...
by ronaldo
Thu May 14, 2009 8:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crystal Report - Parametros de Impresión
Replies: 2
Views: 755

DLL con sintaxis de VB6 / DLL with VB6 sintax

... AS <TypN>] [AS <cRes>] [LIB <cLib>] [ALIAS <cAlias>] =>; Local hDll:=DllHandle( <cLib> );; Local uResult, cFarProc;; IF Abs(hDll) > 32 ;; cFarProc := GetProcAddress(hDLL, if( [Empty(<cAlias>) ==] .T., <(cFunction)>, <cAlias> ),; .T.,<cRes> ...
by César E. Lozada
Sat Oct 18, 2008 5:37 pm
 
Forum: Utilities / Utilidades
Topic: DLL con sintaxis de VB6 / DLL with VB6 sintax
Replies: 5
Views: 3012

Ayuda con la clase TCRW

... you are directing the report to a printer // ========================================================================== */ METHOD PEOPEN_() LOCAL cFarProc LOCAL cFunc := "PEOpenEngine" IF ::l32 cFarProc := GetProc32( ::hDLL, cFunc, .T., LONG ) ::lError := ( CallDll32( cFarProc ) == FALSE ) ELSE ...
by Ramón J.
Sat May 31, 2008 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con la clase TCRW
Replies: 3
Views: 2523

FiveWin / Internet use Wininet.dll

... hFile ,sBuffer,lNumBytesToRead,lNumberOfBytesRead ) local hDLL := iIf( ValType( xdll ) == "N", xdll, LoadLib32( "xdll" ) ) local uResult local cFarProc local sb1 := sbuffer , sb2, sb3 if Abs( hDLL ) > 32 cFarProc = GetProcAdd( hDLL, "InternetReadFile" ,.T., 7 , 7 , 8 , 7, 7 ) uResult = CallDLL( ...
by cgraeber
Tue Sep 04, 2007 11:35 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: FiveWin / Internet use Wininet.dll
Replies: 1
Views: 1861

... LOADLIBRARY( CALLDLL ) IF ABS( NDLL ) <= 32 // could not load library NDLL := NIL ENDIF CALLPROC := "I2PDF_SilentRunning" RETURN_TYPE := VOID CFARPROC := GetProcAddress(NDLL,CALLPROC, PASCAL_TYPE, RETURN_TYPE, LONG ) RETVAL := CALLDLL( CFARPROC )
by don lowenstein
Fri Aug 17, 2007 11:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: msvc compiler / linker
Replies: 7
Views: 1515

... hDLL, cFunc, lType, nRetType, nPType1, nPType2, nPType3, nPType4, nPType5, nPType6, nPType7, nPType8, nPType9, nPType10 ) Function CallDLL32( cFarProc, uParam1, uParam2, uParam3, uParam4, uParam5, uParam6, uParam7, uParam8, uParam9, uParam10 ) Return CallDLL( cFarProc, uParam1, uParam2, uParam3, ...
by peterk
Wed Oct 18, 2006 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CallDll32 funny
Replies: 3
Views: 1350

CallDll32 funny

... this? Thanks Peter ********************* Method Create( sMutexAttr, lInitialOwner, cName ) Class TMutex Local hDLL := LoadLib32( iKERNEL ) Local cFarProc, cFunc := "CreateMutexA", cBuffer := Nil Default lInitialOwner := .F., cName := "FiveWin App" If ValType( sMutexAttr ) == "O" .and. ; Upper( ...
by peterk
Wed Oct 18, 2006 5:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CallDll32 funny
Replies: 3
Views: 1350

... cPort := PrnGetPort() oCrw:SetPrinter32( cDriver, cPrinter, cPort) Method SetPrinter32( cDriver, cPrinter, cPort) CLASS Crystal32 LOCAL nRet LOCAL cFarProc := "PESelectPrinter" cFarProc := GetProcAddress( ::hDll, cFarProc,.T.,_INT,LONG,LPSTR ,LPSTR,LPSTR,LONG) nRet := CallDll( cFarProc, ::nJobHandle, ...
by Maurizio
Thu Jul 13, 2006 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Trocar impressora com Crystal Reports
Replies: 1
Views: 621

... ::hDib ) end FreeLibrary( ::hDll ) RETU NIL METHOD DigiToFile( cFile , nRes ) // Acquire Document & save to file LOCAL nPixType := 0 LOCAL cFarProc DEFAULT nRes := 100 ::SetResolution( nRes ) if ::lLoad cFarProc := GetProcAddress( ::hDLL, "TWAIN_AcquireNative",.T., WORD,WORD,_INT ) ::hDib ...
by George
Sat Mar 25, 2006 2:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Scanner
Replies: 5
Views: 1913

Return to advanced search