Search found 436 matches: pascal

Searched query: pascal

by leandro
Tue Feb 11, 2025 6:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar tamaño caja toast
Replies: 7
Views: 1364

Re: Ajustar tamaño caja toast

... 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 ...
by Antonio Linares
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 ...
by Antonio Linares
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 ...
by vilian
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
by ShumingWang
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 ...
by jnavas
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
by jhnsnlb
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
by paquitohm
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 ...
by Randal
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 ...
by rodmc
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 ...
by paquitohm
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 ...
by Antonio Linares
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 ...
by TimStone
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 ...
by Antonio Linares
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 ...
by Jimmy
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,
Antonio Linares wrote:Why don't you try to use the FWH DLL FUNCTION way ? :-)
i have to find out Parameter Type "as PASCAL" to use DLL Function ...
DllCall() is a Harbour function.
it work with same Syntax and Result under HMG and Xbase++ so why not with Fivewin :?: