Link resources file problem

Link resources file problem

Postby dixonchu » Fri Jan 12, 2007 9:31 am

Dear all

I just upgrade from FWH 2.4 + Harbour 4.20 + BCC55 to FWH 2006-DEC +
xHarbour .99.61 + BCC55

but I have a problem when I iLink the resources ( XX.res convert from XX.rc
with Borland WorkShop 4.5)

The error message is "contain invalid OMF record, type 0x00"

I have already recompiled all my source files with xHarbour .99.61

The link is OK when FWH 2.4 + Harbour 4.20 + BCC55


Anyone Help !


Best regards


Dixon Chu
dixonchu
 
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am

Postby James Bott » Sat Jan 13, 2007 7:01 pm

In a situation like that this is what I do. Make a copy of the RES file and delete about half of the resources. Then link again. If you still get the error, then delete half of what was left and link again. Continue until you find the problem resource.

However it doesn't sound like a resource error. Are you sure you not linking in an old OBJ or LIB?

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Sat Jan 13, 2007 7:45 pm

Dixon,

> The error message is "contain invalid OMF record, type 0x00"

Please copy the entire output here.

It looks as you are mixing OMF and COFF files. Borland uses OMF and Microsoft uses COFF
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby dixonchu » Sun Jan 14, 2007 2:58 am

The RES is linked OK with BCC55 + Harbour 42.0 + FWH 2.4 and
VC6 + xHarbour .99.61 + FWH6.12 also.
It only have problem on BCC55 + xHarbour .99.61 + FWH6.12

I try to delete some of items , and relink it , It still have same error

Thanks anyway , maybe I can go for VC6 + xHarbour .99.61 + FWH6.12

Best Regards

ps. sorry Antonio , I can't find the attachmemt button to upload the RES file
dixonchu
 
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am

Postby James Bott » Sun Jan 14, 2007 5:52 am

Dixon,

>but I have a problem when I iLink the resources ( XX.res convert from XX.rc with Borland WorkShop 4.5)

Did you know that you have to convert the 16bit resource file to 32bit? It has been awhile since I did this and I don't remember excatly how. Perhaps someone will chime in with instructions.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Sun Jan 14, 2007 7:28 am

Dixon,

Please check that you are using FiveHX.lib and FiveHC.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby dixonchu » Sun Jan 14, 2007 8:31 am

Dear James and Antonio

yes ! I'm using FiveHX.lib and FiveHC.lib

and the RES is 32 bit also .

It's OK when I link this RES file at FWH/samples (FWH6.12)

OK , forget it, I'm going change to VC6 + xHarbour + FWH6.12

So , bye ! bye ! Borland C , I will miss you

Thanks James and Antonio

Best Regards!

Dixon Chu
dixonchu
 
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 58 guests