Search found 108 matches: hdll

Return to advanced search

Re: Definir font richedit5

... ) sin definir en el programa, lo que hice fue definir: Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lRich := .F., lGTF := .F., lOk := .F. publ oMemo DEFAULT nTop := 9, nLeft := 9, nBottom ...
by jpcavagnaro
Tue Dec 26, 2023 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 603

Re: Saber si webview es listo para funcionar en PC?

Cambia esta línea:

local lAvailable := ! Empty( hDLL )
by Antonio Linares
Wed Jul 05, 2023 11:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si webview esta listo para funcionar en PC?
Replies: 4
Views: 326

Re: Error al leer un dll

Hola Antonio, el error lo tengo en el loadllibrary, lo que devuelve: hDll := LoadLibrary( "winfis32.dll" ) el hDll = 0x0000000 si la librería existe o 0x0 si no existe, en lugar de devolver 0 si es correcto o el -1 Saludos Jorge Si hDLL vale cero ...
by jpcavagnaro
Wed Apr 26, 2023 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 1498

Re: Error al leer un dll

jpcavagnaro wrote:Hola Antonio, el error lo tengo en el loadllibrary, lo que devuelve:

hDll := LoadLibrary( "winfis32.dll" )

el hDll = 0x0000000 si la librería existe o 0x0 si no existe, en lugar de devolver 0 si es correcto o el -1

Saludos
Jorge
by jpcavagnaro
Mon Apr 24, 2023 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 1498

Re: Error al leer un dll

Hola Antonio, el error lo tengo en el loadllibrary, lo que devuelve: hDll := LoadLibrary( "winfis32.dll" ) el hDll = 0x0000000 si la librería existe o 0x0 si no existe, en lugar de devolver 0 si es correcto o el -1 Saludos Jorge Si hDLL vale cero ...
by Antonio Linares
Sat Apr 22, 2023 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 1498

Re: Error al leer un dll

Hola Antonio, el error lo tengo en el loadllibrary, lo que devuelve:

hDll := LoadLibrary( "winfis32.dll" )

el hDll = 0x0000000 si la librería existe o 0x0 si no existe, en lugar de devolver 0 si es correcto o el -1

Saludos
Jorge
by jpcavagnaro
Sat Apr 22, 2023 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 1498

Re: Error al leer un dll

... FROM "Abort" LIB "winfis32.dll" deberias cambiarlas para que en vez de usar ... LIB "winfis32.dll" usen ... LIB hDll declara static hDll al comienzo del PRG donde las tengas y en tu código haz: hDll := LoadLibrary( "winfis32.dll" ) y cuando termines ...
by Antonio Linares
Sat Apr 22, 2023 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 1498

Richedit5 controlar salida sin guardar

... y salieron por la X sin guardar, se puede? Static Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg, oMemo local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lRich := .F., lGTF := .F., lOk := .F. DEFAULT nTop := 9, nLeft := 9, nBottom := 27, nRight ...
by jpcavagnaro
Tue Mar 21, 2023 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit5 controlar salida sin guardar
Replies: 0
Views: 168

DLLCALL under Fivewin

... ... but Result is 0 ... as it look like the same Problem which i had with "Everything" i guess i need other Way under Fivewin   hDll = LoadLibrary( "Kernel32.dll" ) so i "load" DLL once at Start and than use hDll Handle. this work fine with "Everything" ...
by Jimmy
Thu Dec 01, 2022 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2631

Re: Everything under Fivewin

... that you have a typo here: DLL FUNCTION Everything_SetRequestFlags( nFlag AS DWORD ) AS VOID PASCAL FROM "Everything_SetSearchA" LIB hDll it should be: DLL FUNCTION Everything_SetRequestFlags( nFlag AS DWORD ) AS VOID PASCAL FROM "Everything_SetRequestFlags" LIB hDll
by Antonio Linares
Mon Nov 21, 2022 12:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Everything under Fivewin
Replies: 17
Views: 1089

Re: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ

Prueba asi:

cDatos = Space( 32000 )
Dllcall( hDLL, "INT", "CChex_Update",Anviz_handle,1,1,@cDatos,32000)
by Antonio Linares
Sun Sep 04, 2022 11:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ
Replies: 27
Views: 2087

Re: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ

El error en estos casos se debe a que abres y cierras la DLL, cuando lo que debes es mantenerla abierta: public hDLL := hb_LibLoad( "tc-b_new_sdk.dll" ) a partir de ahi, usa hDLL en vez de "tc-b_new_sdk.dll" Anviz_handle:=DllCall( hDLL, "INT", "CChex_Start") ...
by Antonio Linares
Fri Sep 02, 2022 3:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ
Replies: 27
Views: 2087

Re: IE

#include "FiveWin.ch" static hDLL function Main() local hWebView hDLL = LoadLibrary( "webview.dll" ) hWebView = WebView_Create( 0, 0 ) * WebView_Navigate( hWebView, Html() ) // or use a URL like "https://www.fivetechsoft.com/test.html" ...
by Natter
Thu May 26, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1680

Re: Using WebView with Borland !!!

César, se me pasó modificarlo en el ejemplo. En vez de hDLL tiene que ser pLib. Es para diferenciar el handle que se obtiene que no es el mismo que nos devuelve LoadLibrary() Ahora falta saber por que WebView_Navigate() no nos lleva a la URL especificada. ...
by Antonio Linares
Wed Feb 16, 2022 9:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using WebView with Borland !!!
Replies: 91
Views: 7699

Re: Using WebView with Borland !!!

Antonio, que sería hDLL? No esta definida.
Si la cambio por pLib da un mensaje de Ok pero no muestra la pagina web
by cmsoft
Wed Feb 16, 2022 8:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using WebView with Borland !!!
Replies: 91
Views: 7699
Next

Return to advanced search