Search found 21 matches: stornl

Return to advanced search

Re: Using Microsoft AI Phi-2 from FWH

antonio o erro não acontece mais, inclui: #ifndef 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://uploaddeim...
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: 8328

Re: Windows Toast notifications - second try

James,

Please add these lines to have support for xHarbour:

#pragma BEGINDUMP

#include <Windows.h>
#include <hbapi.h>

#ifndef HB_LONGLONG
#define HB_LONGLONG long
#define hb_storvnll hb_stornl
#endif
by Antonio Linares
Tue Apr 19, 2016 3:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows Toast notifications - second try
Replies: 86
Views: 23516

Problem compiling testtool.prg

Hello. I have a problem trying to compile the testtool.prg I'm receiving some errors from the xharbor.com compiler inside the c source. Someone knows how can I make ? Thanks a lot. Massimo // Testing Windows ToolHelp.dll #include "FiveWin.ch" //---------------------------------------------...
by Massimo Linossi
Fri Sep 19, 2014 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem compiling testtool.prg
Replies: 0
Views: 504

Re: Test for a .Pdf reader

Rick, if you want to rewrite the regopenkey() function you can try to add the folowing code to your system: #pragma BEGINDUMP HB_FUNC( REGOPENKEY ) // ( nkey, cSubKey, @nHandle ) --> nResult { HKEY hKey = ( HKEY ) hb_parnl( 1 ); HKEY hResult; #ifndef UNICODE hb_retnl( RegOpenKey( hKey, hb_parc( 2...
by ADutheil
Fri Nov 11, 2011 11:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test for a .Pdf reader
Replies: 11
Views: 3330

New FTDN October/Octubre 2011 (FWH 11.10)

* Fix: functions ReGetCharFormat() and RegGetSelection() incorrectly used hb_storvnl() instead of hb_stornl() * Fix: functions RegEnumKey() and RegEnumValue() incorrectly used hb_storvc() and hb_storvnl() instead of hb_storc() and hb_stornl() * Fix: functions RegQueryValueEx() and RegCreateKey() inc...
by Antonio Linares
Wed Nov 02, 2011 1:24 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2011 (FWH 11.10)
Replies: 3
Views: 4219

Re: How can recompile FW libraries?

... GETFIRSTIN Warning W8065 unzip.c 74: Call to function 'STORC' with no prototype in function GETFIRSTIN Warning W8065 unzip.c 76: Call to function 'STORNL' with no prototype in function GETFIRSTIN Warning W8065 unzip.c 77: Call to function 'STORNL' with no prototype in function GETFIRSTIN Warning ...
by mosh1
Mon Oct 10, 2011 11:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How can recompile FW libraries?
Replies: 23
Views: 5582

Re: Prototype missing?

Enrico, this api no exist in xharbour. int hb_parvni( int iParam, int n ) { return hb_parni( iParam, n ); } LONG hb_parvnl( int iParam, int n ) { return hb_parnl( iParam, n ); } const char * hb_parvc( int iParam, int n ) { return hb_parc( iParam, n ); } void hb_storvnl( LONG lValue, int iParam, int ...
by carlos vargas
Sun Oct 02, 2011 1:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Prototype missing?
Replies: 35
Views: 8036

Re: Bitmaps in buttonbar got shifted up

Hua,

Please check how hb_stornl() is defined in your used hbapi.h and copy it here, thanks :-)
by Antonio Linares
Wed Sep 28, 2011 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmaps in buttonbar got shifted up
Replies: 11
Views: 2866

Re: Lectora Laser

Gracias...!!! y perdon, maestro... pero a mi me sacas de los IF / Case, Do While, y soy boleta... ¿alguna idea de que es esto que pego abajo? (lo que hice fue pegar el código que pusiste arriba en un notepado, guardarlo como strucinf.h, ponerlo en INCLUDE y tratar de compilar nuevamente. Gracias...!...
by diegopolverelli
Tue Jul 06, 2010 12:42 pm
 
Forum: FiveWin para Pocket PC
Topic: Lectora Laser
Replies: 15
Views: 6334

Re: Compile Errors

Jeff,

please try to use hb_stornl instead of hb_storvnl .
by StefanHaupt
Mon May 17, 2010 7:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Errors
Replies: 1
Views: 381

Re: Descubrir dispositivos via Bluetooth

Perdonar pero no he visto vuestros mensajes, aqui teneis el codigo para mostrar los dispositivos a tu alcance: function main() WSAStartup() nWsaError:=WSALookupServiceBegin(@lphLookup) if nWsaError<>0 // Tenemos un error localizado en wsaError.h do case case nWsaError = WSASERVICE_NOT_FOUND ms...
by softruz
Wed Nov 18, 2009 4:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descubrir dispositivos via Bluetooth
Replies: 5
Views: 1318

Re: Error Building TestGif.prg

Antonio, This is what I get now: testgif.prg(24): error: Redeclaration of 'hb_stornl' previously declared at C:\xHB\include\hbapi.h(539): found 'void __cdecl function(long int, int, int)' expected 'void __cdecl function(long int, int, ...)'. I tried commenting out "void hb_stornl( long, int, in...
by arpipeline
Wed Sep 02, 2009 12:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error Building TestGif.prg
Replies: 7
Views: 1642

Re: Pasar variable por referencia a una funcion en C

Saludos...


Teoricamente igual...

deberias pasar un segundo parametro

_stornl( nHandle, 2 ) // el 2 sigifica el segundo parametro que lo deberias pasar a la funcion
by Daniel Garcia-Gil
Fri Jun 26, 2009 5:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar variable por referencia a una funcion en C
Replies: 3
Views: 663

space and diskinfo

How cal this function ? HB_FUNC (MEMINFO) { MEMORYSTATUS st; GlobalMemoryStatus (&st); hb_reta (4); hb_stornl ((ULONG) st.dwMemoryLoad, -1, 1); hb_stornl ((ULONG) st.dwTotalPhys, -1, 2); hb_stornl ((ULONG) st.dwTotalVirtual, -1, 3); hb_stornl ((ULONG) st.dwAvailVirtual, -1, 4); } HB_FUNC (DISKIN...
by Silvio
Wed May 06, 2009 11:10 pm
 
Forum: FiveWin for Pocket PC
Topic: space and diskinfo
Replies: 3
Views: 535

FiveWin, Harbour y C para ignorantes.

Hola a todos, Estas son notas para los que como yo no tenemos ni idea de 'C' y precisamos llamar a una función 'C' de una .Lib de terceros, desde FiveWin/Harbour. Gracias a este foro, sobre todo a Antonio Linares lo he conseguido. La .lib de terceros en mi caso era: ter16bc.lib --->>> ATENC...
by FiveWiDi
Tue Feb 24, 2009 8:44 pm
 
Forum: Utilities / Utilidades
Topic: FiveWin, Harbour y C para ignorantes.
Replies: 3
Views: 2822
Next

Return to advanced search