Error when updating FWXH 8.02 to FWXH 8.04

Post Reply
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Error when updating FWXH 8.02 to FWXH 8.04

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Post 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.
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Post 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
FiveWin 9.03 + xHarbour !!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Anderson,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Post by Anderson.OL »

how master?
FiveWin 9.03 + xHarbour !!
User avatar
Anderson.OL
Posts: 92
Joined: Thu Feb 15, 2007 11:37 am
Location: Itaocara - RJ - Brasil
Contact:

Post 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:
FiveWin 9.03 + xHarbour !!
Post Reply