... c:\fwh64_2409\samples>
#include "Fivewin.ch"
DLL FUNCTION RoActivateInstance( pRuntimeClassName AS LPSTR, @pInstance AS PTR ) AS LONG PASCAL LIB "combase.dll"
FUNCTION RoActivateInstanceWrapper( cRuntimeClassName )
LOCAL nResult, pHString, pInstance
LOCAL nLength := Len ...
Search found 436 matches: pascal
Searched query: pascal
- Tue Feb 11, 2025 6:48 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ajustar tamaño caja toast
- Replies: 7
- Views: 1364
- Tue Feb 11, 2025 7:30 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ajustar tamaño caja toast
- Replies: 7
- Views: 1364
Re: Ajustar tamaño caja toast
... nf-roapi-roactivateinstance
Prueba con este código:
DLL FUNCTION RoActivateInstance( pRuntimeClassName AS LPSTR, @pInstance AS PTR ) AS LONG PASCAL LIB "combase.dll"
FUNCTION RoActivateInstanceWrapper( cRuntimeClassName )
LOCAL nResult, pHString, pInstance
LOCAL nLength := Len ...
Prueba con este código:
DLL FUNCTION RoActivateInstance( pRuntimeClassName AS LPSTR, @pInstance AS PTR ) AS LONG PASCAL LIB "combase.dll"
FUNCTION RoActivateInstanceWrapper( cRuntimeClassName )
LOCAL nResult, pHString, pInstance
LOCAL nLength := Len ...
- Sat Feb 08, 2025 9:41 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ajustar tamaño caja toast
- Replies: 7
- Views: 1364
Re: Ajustar tamaño caja toast
... return nil
//---------------------------------------------------------------------------//
DLL FUNCTION RoInitialize( nType AS LONG ) AS LONG PASCAL LIB "combase.dll"
DLL FUNCTION RoUninitialize() AS VOID PASCAL LIB "combase.dll"
DLL FUNCTION WindowsCreateString( cWideText AS LPSTR, nLength AS ...
//---------------------------------------------------------------------------//
DLL FUNCTION RoInitialize( nType AS LONG ) AS LONG PASCAL LIB "combase.dll"
DLL FUNCTION RoUninitialize() AS VOID PASCAL LIB "combase.dll"
DLL FUNCTION WindowsCreateString( cWideText AS LPSTR, nLength AS ...
- Mon Dec 09, 2024 2:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Java GetTime Function
- Replies: 7
- Views: 961
Re: Java GetTime Function
... That i've declared by this way:
DLL32 FUNCTION PIXCD_ConsultarPixRecebidos(ADataInicio AS _DOUBLE,ADataFim AS _DOUBLE,ATxId AS STRING,;
ACpfCnpj AS STRING, PagAtual AS _INT, ItensPorPagina AS _INT,;
@sResposta AS STRING,@nTamanho AS _INT) AS LONG PASCAL FROM "PIXCD_ConsultarPixRecebidos" LIB oACPx
DLL32 FUNCTION PIXCD_ConsultarPixRecebidos(ADataInicio AS _DOUBLE,ADataFim AS _DOUBLE,ATxId AS STRING,;
ACpfCnpj AS STRING, PagAtual AS _INT, ItensPorPagina AS _INT,;
@sResposta AS STRING,@nTamanho AS _INT) AS LONG PASCAL FROM "PIXCD_ConsultarPixRecebidos" LIB oACPx
- Tue Oct 15, 2024 1:45 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to add 2d barcode to fastreport or fwh/harbour?
- Replies: 7
- Views: 1326
Re: How to add 2d barcode to fastreport or fwh/harbour?
... error: will hangup
ZBarcode_print(h2d)
ZBarcode_Delete(h2d)
FREELIBRARY( hLib )
return
dll32 function ZBarcode_Create() as LONG pascal FROM "ZBarcode_Create" lib hlib
dll32 function ZBarcode_Encode_and_Buffer(symbol as LONG ,;
source as LPSTR,length as LONG,rotate_angle as LONG ...
ZBarcode_print(h2d)
ZBarcode_Delete(h2d)
FREELIBRARY( hLib )
return
dll32 function ZBarcode_Create() as LONG pascal FROM "ZBarcode_Create" lib hlib
dll32 function ZBarcode_Encode_and_Buffer(symbol as LONG ,;
source as LPSTR,length as LONG,rotate_angle as LONG ...
- Thu Jan 04, 2024 12:27 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Generar codigo QR con fivewin.
- Replies: 9
- Views: 1868
Re: Generar codigo QR con fivewin.
Saludos
Alberto,
https://github.com/AdaptaProERP/kernel_ ... qrform.prg
DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL ;
FROM "FastQRCode" LIB "QRCodelib.Dll"
RETURN NIL
Alberto,
https://github.com/AdaptaProERP/kernel_ ... qrform.prg
DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL ;
FROM "FastQRCode" LIB "QRCodelib.Dll"
RETURN NIL
- Sat Dec 30, 2023 7:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using Microsoft AI Phi-2 from FWH
- Replies: 51
- Views: 16162
Re: Using Microsoft AI Phi-2 from FWH
... HB_LONGLONG
#define HB_LONGLONG long
#define hb_storvnll hb_stornl
#endif
agora o erro eh outro ao clicar em start
DLL FUNCTION Llama( cModel AS LPSTR, cPrompt AS LPSTR, pFunc AS PTR ) AS VOID PASCAL LIB "llama64.dll"
https://uploaddeimagens.com.br/images/004/700/688/original/erro.png?1703921284
#define HB_LONGLONG long
#define hb_storvnll hb_stornl
#endif
agora o erro eh outro ao clicar em start
DLL FUNCTION Llama( cModel AS LPSTR, cPrompt AS LPSTR, pFunc AS PTR ) AS VOID PASCAL LIB "llama64.dll"
https://uploaddeimagens.com.br/images/004/700/688/original/erro.png?1703921284
- Wed Sep 06, 2023 11:38 am
- Forum: To do - WishList / Por hacer - Peticiones
- Topic: HBIDE - Will there be any further development?
- Replies: 18
- Views: 26473
Re: HBIDE - Will there be any further development?
Hola,
Aquí usando SetEdit y el editor de Free Pascal
+ SetEdit saca binarios para Linux pero no para Windows. https://setedit.sourceforge.net/
Tiene longitud de linea corta y para evitarlo en algunos .prg utilizo el editor de Free Pascal
+ Editor de Free Pascal está muy desactualizado https://www ...
Aquí usando SetEdit y el editor de Free Pascal
+ SetEdit saca binarios para Linux pero no para Windows. https://setedit.sourceforge.net/
Tiene longitud de linea corta y para evitarlo en algunos .prg utilizo el editor de Free Pascal
+ Editor de Free Pascal está muy desactualizado https://www ...
- Sat Aug 05, 2023 2:06 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xHarbour Commercial and latest FWH
- Replies: 3
- Views: 677
xHarbour Commercial and latest FWH
... Should return true
lSmtpInit := SmtpInitialize(CSTOOLS9_LICENSE_KEY)
DLL FUNCTION SmtpInitialize(license AS LPSTR, initdata AS LPSTR) AS BOOL ;
PASCAL FROM "SmtpInitializeA" LIB hSmtp
The license key is a define for a long string of random letters.
The error I get is:
Compiler version ...
lSmtpInit := SmtpInitialize(CSTOOLS9_LICENSE_KEY)
DLL FUNCTION SmtpInitialize(license AS LPSTR, initdata AS LPSTR) AS BOOL ;
PASCAL FROM "SmtpInitializeA" LIB hSmtp
The license key is a define for a long string of random letters.
The error I get is:
Compiler version ...
- Tue Jun 27, 2023 4:41 am
- Forum: mod_harbour
- Topic: Les saludo. Soy McCoy, nuevo en este foro
- Replies: 3
- Views: 2745
Les saludo. Soy McCoy, nuevo en este foro
... Web, Linux, Mac).
También he conocido otros lenguajes y plataformas informáticas, habiendo visto o aprendido un poco de lenguajes como Fortran, Pascal, un poquito de Lenguaje C, MS Basic de los 80s, un poquito de FiveWin en sus inicios, Apex de Oracle, VBA de MS Office, TCLOAD para POSs de los 90s ...
También he conocido otros lenguajes y plataformas informáticas, habiendo visto o aprendido un poco de lenguajes como Fortran, Pascal, un poquito de Lenguaje C, MS Basic de los 80s, un poquito de FiveWin en sus inicios, Apex de Oracle, VBA de MS Office, TCLOAD para POSs de los 90s ...
- Tue May 23, 2023 3:36 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: POR QUE ELIMINARON MI PREGUNTA...A QUE SE DEBE...
- Replies: 2
- Views: 538
Re: POR QUE ELIMINARON MI PREGUNTA...A QUE SE DEBE...
... pregunta jamás del foro. Si me consta que el foro a veces, de Pascuas a Ramos, podría sufrir algun tipo de problema
Y basándonos en lo que decía Pascal: "El principio de toda moral es pensar bien de los demás", su pregunta más pertinente habría sido "¿ Alguien sabe qué pasó con mi pregunta ?"
Un ...
Y basándonos en lo que decía Pascal: "El principio de toda moral es pensar bien de los demás", su pregunta más pertinente habría sido "¿ Alguien sabe qué pasó con mi pregunta ?"
Un ...
- Sat Apr 22, 2023 10:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Error al leer un dll
- Replies: 19
- Views: 3436
Re: Error al leer un dll
Estimado Jorge,
Si estas usando estás funciones:
DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll"
DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL FROM "MandaPaqueteFiscal" LIB "winfis32.dll"
DLL32 ...
Si estas usando estás funciones:
DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll"
DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL FROM "MandaPaqueteFiscal" LIB "winfis32.dll"
DLL32 ...
- Thu Dec 01, 2022 10:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DLLCALL under Fivewin
- Replies: 45
- Views: 6623
Re: DLLCALL under Fivewin
... I use an external one. Any time I do a print preview, and then want a PDF, I call this. Thus it is called many times each day.
Note these are PASCAL functions, and also note how I create the handle, and then release the .dll at the end. It never has a problem.
The code is built with FWH ...
Note these are PASCAL functions, and also note how I create the handle, and then release the .dll at the end. It never has a problem.
The code is built with FWH ...
- Thu Dec 01, 2022 4:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DLLCALL under Fivewin
- Replies: 45
- Views: 6623
Re: DLLCALL under Fivewin
To find if a function is PASCAL or not, simply use such clause or remove it and check if it works or not. Thats the simplest way
FWH should not affect Harbour's DllCall() behavior, so I guess that you are using wrong parameters with DllCall()
Does your same syntax work in xBase++ ? If so, then it ...
FWH should not affect Harbour's DllCall() behavior, so I guess that you are using wrong parameters with DllCall()
Does your same syntax work in xBase++ ? If so, then it ...
- Thu Dec 01, 2022 3:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DLLCALL under Fivewin
- Replies: 45
- Views: 6623
Re: DLLCALL under Fivewin
hi Antonio,
![Question :?:](./images/smilies/icon_question.gif)
i have to find out Parameter Type "as PASCAL" to use DLL Function ...Antonio Linares wrote:Why don't you try to use the FWH DLL FUNCTION way ?
it work with same Syntax and Result under HMG and Xbase++ so why not with FivewinDllCall() is a Harbour function.
![Question :?:](./images/smilies/icon_question.gif)