Page 2 of 2

Re: how to compile the file maindllp.c

PostPosted: Sun Mar 21, 2010 12:37 pm
by zazibr
the problem is not the source code "maindllp.c" but in hbapi.h follows the hbapi.h xharbour antonio could check with your hbapi.h?



http://www.lopes.ms/fw/hbapi.txt

http://www.lopes.ms/fw/hbapi.h

would increase the limit on the number of characters from the board?

now the limit is 60000

could increase to 100,000?

Re: how to compile the file maindllp.c

PostPosted: Sun Mar 21, 2010 12:58 pm
by Antonio Linares

Re: how to compile the file maindllp.c

PostPosted: Mon Mar 22, 2010 12:06 pm
by zazibr
change maindllp.c

nos fontes dos xharbour cvs segue abaixo as alterações ja propostas pelo usuario Roberto Parisi
antônio poderia reportar ao pessoal do projeto esse codigo fonte não é mais compilado no xharbour por isso esses erros continuam

a compilação funcionou agora vou tentar gerar a dll e o exe

line 190

before
char * hb_parc( int iParam, ... )

after
const char * hb_parc( int iParam, ... )


line 629

before
char * hb_pards( int iParam, ... ) /* retrieve a date as a string yyyymmdd */

after
const char * hb_pards( int iParam, ... ) /* retrieve a date as a string yyyymmdd */


line 1518

before
ULONG hb_snprintf( char * buffer, ULONG nSize, const char * format, ... )

after
int hb_snprintf( char * buffer, size_t nSize, const char * format, ... )