FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how to compile the file maindllp.c
Posts: 71
Joined: Mon Jan 28, 2008 11:18 AM
Re: how to compile the file maindllp.c
Posted: Sun Mar 21, 2010 12:37 PM

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?

Daniel Lopes Filho - Campo Grande,MS,Brasil
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6693) + gtwvw + fw 10.2 + vsx e
fw pcc (ainda não usei)
msn : zazibr@hotmail.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how to compile the file maindllp.c
Posted: Sun Mar 21, 2010 12:58 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 71
Joined: Mon Jan 28, 2008 11:18 AM
Re: how to compile the file maindllp.c
Posted: Mon Mar 22, 2010 12:06 PM

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, ... )

Daniel Lopes Filho - Campo Grande,MS,Brasil
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6693) + gtwvw + fw 10.2 + vsx e
fw pcc (ainda não usei)
msn : zazibr@hotmail.com

Continue the discussion