FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Trying to compile Testrtf.prg
Posts: 21
Joined: Mon Mar 20, 2006 12:48 PM
Trying to compile Testrtf.prg
Posted: Sun Apr 02, 2006 01:49 PM

I compiled \Fwh\Samples\Testrtf.prg with xHarbour Builder and got messages of
Macro redefinitions out of xRc: \Fwh\Include\Winapi.ch

deleting #include "\Fwh\include\winapi.ch" in Testrtf.rc gives no result at all after compiling.

What can be wrong?

Jules de Pierre

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Trying to compile Testrtf.prg
Posted: Sun Apr 02, 2006 03:16 PM

Jules,

Please notice that xHB also provides a winapi.ch. You may rename xHB winapi.ch into _winapi.ch.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 21
Joined: Mon Mar 20, 2006 12:48 PM
Trying to compile Testrtf.prg
Posted: Mon Apr 03, 2006 12:04 PM

Antonio,
After renaming Winapi.ch in xHB and having Winapi.ch in the RC file I still get all these redefinition errors.

Any other idea ?

I work with FWH 2.7 and xHB March 2006.

Jules

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Trying to compile Testrtf.prg
Posted: Mon Apr 03, 2006 12:08 PM

Jules,

We have been able to build samples\TestRtf.prg with xHB on first try. Lets see if we can find the way to help you.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion