Page 1 of 1

Error when updating FWXH 8.02 to FWXH 8.04

Posted: Fri Apr 25, 2008 3:02 pm
by Anderson.OL

Code: Select all

Executando: ILINK32 @B32.BC
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_OUTPORTBYTE' referenced from OBJ\TERMINAL\TDOSPRNU.OBJ
Error: Unresolved external '_HB_FUN_INPORTBYTE' referenced from OBJ\TERMINAL\TDOSPRNU.OBJ
I search for the function in the libraries of the version 8.02

Code: Select all

G:\FWH(8.02)\lib>find "portbyte" /i /n fivehc.lib   | more

---------- FIVEHC.LIB
[545]☺☺↕_HB_FUN_INPORTBYTE
[552]☺☺‼_HB_FUN_OUTPORTBYTE>
[82000]Ë‼_HB_FUN_OUTPORTBYTE>
[84204]↕_HB_FUN_INPORTBYTE>


G:\FWH(8.02)\lib>
When I search for the function in the libraries of the version 8.04 I don't find them

veja:

Code: Select all

G:\FWH(8.04)\lib>find "portbyte" /i /n *.lib   | more

---------- FIVEH.LIB

---------- FIVEHC.LIB

---------- FIVEHCM.LIB

---------- FIVEHM.LIB

---------- FIVEHMX.LIB

---------- FIVEHX.LIB


G:\FWH(8.04)\lib>
somebody helps me.

Image

Posted: Fri Apr 25, 2008 6:15 pm
by Antonio Linares
Andersson,

InportByte() and OutportByte() are located in fwh\source\winapi\inout.c but they may not work in 32 bits.

Were you properly using them in 32 bits ?

Posted: Fri Apr 25, 2008 6:19 pm
by Anderson.OL
Antonio Linares wrote:Andersson,

InportByte() and OutportByte() are located in fwh\source\winapi\inout.c but they may not work in 32 bits.

Were you properly using them in 32 bits ?
Yes!!

in a version of the class TDosPrn.

Posted: Fri Apr 25, 2008 6:38 pm
by Anderson.OL
inout.c compiled, but this error is shown

Error E2188 G:\xHarbour(8.04)\include\hbdefs.h 65: Expression syntax
Error E2209 G:\xHarbour(8.04)\include\hbdefs.h 68: Unable to open include file 'stdint.h'
Error E2188 G:\xHarbour(8.04)\include\hbdefs.h 441: Expression syntax

Posted: Fri Apr 25, 2008 7:10 pm
by Antonio Linares
Anderson,

You can extract inout.obj from previous FiveHC.lib and link it with your application

Posted: Fri Apr 25, 2008 7:26 pm
by Anderson.OL
how master?

Posted: Fri Apr 25, 2008 7:50 pm
by Anderson.OL
Success!!!!

Code: Select all

G:\BCC55>tlib Fivehc.lib * inout.obj
TLIB 4.5 Copyright (c) 1987, 1998 Borland International
Project compiled.

Very Thanks Linares! :wink: