Search found 21 matches: sztext

Return to advanced search

Re: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)

... Agrege a mi prg este porcion #pragma BEGINDUMP #include <hbapi.h> #undef hb_retclen_buffer #undef hb_parldef void hb_retclen_buffer( char * szText, int nLen ) { hb_retclen( szText, nLen ); } int hb_parldef( int iParam, int iDefValue ) { return hb_parl( iParam, iDefValue ); } #pragma ENDDUMP
by CARLOS ATUNCAR
Fri Jan 26, 2024 11:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)
Replies: 5
Views: 278

Re: Google pixels versus characters

Dear Marc,

FWH provides function GetTextWidth( hDC, szText [,hFont], [@nHeight] ) --> nPixelsWidth
by Antonio Linares
Thu Oct 06, 2022 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Google pixels versus characters
Replies: 1
Views: 167

Re: unrecoverable error 9015 hb_vmdo()

... #include <hbapi.h> #include <hbapierr.h> HB_FUNC( GENEROERROR ) { hb_xfree( 0 ); } void hb_errInternal (ULONG ulIntCode, const char * szText, const char * szPar1, const char * szPar2) { hb_errRT_BASE( 0, 0, "intentando resolver un error interno", "probando", 0 ); ...
by Edman
Thu Oct 07, 2021 5:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: unrecoverable error 9015 hb_vmdo()
Replies: 33
Views: 1772

Re: Mysql (Result a Array en C) solicitud de ayuda.

Antonio, que direfencia hay entre estas dos funciones? extern HB_EXPORT HB_BOOL hb_arraySetC( PHB_ITEM pArray, HB_SIZE nIndex, const char * szText ); extern HB_EXPORT HB_BOOL hb_arraySetCL( PHB_ITEM pArray, HB_SIZE nIndex, const char * szText, HB_SIZE nLen ); asi esta quedando la funcion, ya ...
by carlos vargas
Tue Mar 02, 2021 8:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mysql (Result a Array en C) solicitud de ayuda.
Replies: 7
Views: 577

Re: Error irrecuperable 9011: hb_xfree llamado con un puntero nu

Rolando,

Con xHarbour tienes que cambiar esta línea asi:

void hb_errInternal( ULONG ulIntCode, const char * szText, const char * szPar1, const char * szPar2 )
by Antonio Linares
Thu Sep 12, 2013 12:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error irrecuperable 9011: hb_xfree llamado con un puntero nu
Replies: 19
Views: 3021

Re: fallo en hb_xfree

Antonio,el propotipo de hb_retclen es este: hb_retclen( const char * szText, HB_SIZE nLen ); Por tanto no sería así?     #pragma BEGINDUMP    #include "hbapi.h"    #include "windows.h"    #include ...
by xmanuel
Sun Jul 28, 2013 12:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: fallo en hb_xfree
Replies: 18
Views: 2329

Re: To Antonio: hb_free () Pointer Overflow "€"

... in function HB_FUNC_INTERNETFINDNEXTFILE - en la línea: hb_storclen( 2, ( char * ) fd, sizeof( WIN32_FIND_DATA ) ) Type mismatch in parameter 'szText' wanted 'signed char *', got int. in function HB_FUNC_INTERNETFINDNEXTFILE
by Verhoven
Sat May 04, 2013 5:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: To Antonio: hb_free () Pointer Overflow "€"
Replies: 23
Views: 4525

Re: Código C rebelde

hm,

Comprueba si la definición que tienes en hbapi.h es esta:

extern HB_EXPORT void hb_storc( const char * szText, int iParam, ... );

y asegurate que hayas cambiado los paths a otra carpeta y estes usando otro fichero hbapi.h
by Antonio Linares
Tue May 01, 2012 10:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Código C rebelde
Replies: 7
Views: 2553

Pregunta tecnica sobre Harbour

... 3, 1 ); revisando hbapi.h, veo que ahora la funcion lleva un solo parámetro. Existe tambien otra función parecida, hb_storvc( const char * szText, int iParam, ... ); /* stores a szString on a variable by reference */ que parece tener el mismo uso pero con más parámetros. ¿Es correcto reemplazar ...
by Carlos Mora
Tue Jan 10, 2012 9:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta tecnica sobre Harbour
Replies: 0
Views: 304

Re: Convertir a de xHarbour a Harbour

Rafa,

Prueba con:

void hb_retclen_const( const char * szText, HB_SIZE nLen );
by Antonio Linares
Mon Oct 31, 2011 11:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Convertir a de xHarbour a Harbour
Replies: 2
Views: 717

Re: Prototype missing?

... iLogical, iParam, n ); } void hb_storvni( int iValue, int iParam, int n ) { hb_storni( iValue, iParam, n ); } void hb_storvc( const char * szText, int iParam, int n ) { hb_storc( szText, iParam, n ); }
by carlos vargas
Sun Oct 02, 2011 1:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Prototype missing?
Replies: 35
Views: 8030

... := c ENDIF ::oTimer:End() RETURN( .T. ) // Windows API that extracts the icon handle of file DLL32 Function DLL32GetExtractIcon(hWnd as LONG, szText as LPSTR, nIconIndex as LONG); AS LONG PASCAL FROM "ExtractIconA" LIB "SHELL32.DLL" METHOD AnimateIcon() CLASS TTrayIcon ::nIndIco := ::nIndIco ...
by concentra
Tue Sep 30, 2008 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTRAY
Replies: 6
Views: 1334

... los valores por referencia :lol: hb_stornl( long lValue, int iParam, ... ); /* stores a long on a variable by reference */ hb_storc( char * szText, int iParam, ... ); /* stores a szString on a variable by reference */ Tambien había visto hb_reta( ULONG ulLen ); /* returns an array with a ...
by ARCC
Sat Mar 22, 2008 4:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA CON API'S
Replies: 10
Views: 2159

Quitar Ceros de la derecha. Error al compilar

... must point struct/union ********* LA FUNCION ****************************** #include "hbapi.h" HB_FUNC ( CQUITACEROS ) { PHB_ITEM pItem; char *szText; int i; int n; char * szResult; pItem = hb_param(1, HB_IT_STRING); if( pItem ) { szText = pItem->item.asString.value; i = (int) pItem->item.asString.length ...
by tsales
Wed Dec 05, 2007 7:40 pm
 
Forum: FiveWin para Pocket PC
Topic: Quitar Ceros de la derecha. Error al compilar
Replies: 9
Views: 2554

... arquivo MENU.C #define OEMRESOURCE #include <WinTen.h> #include <Windows.h> #include <ClipApi.h> BOOL bStrAt( BYTE bChar, LPSTR szText ); LPSTR StrToken( LPSTR szText, WORD wOcurrence, BYTE bSeparator, LPWORD pwLen ); void WindowBoxIn( HDC hDC, RECT * pRect ); void WndDrawBox( ...
by saviotti
Fri May 18, 2007 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error ao atualizar para FWH 7.04
Replies: 29
Views: 9801
Next

Return to advanced search