Page 1 of 1

Trying to compile Testrtf.prg

Posted: Sun Apr 02, 2006 1:49 pm
by Jules de Pierre
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

Posted: Sun Apr 02, 2006 3:16 pm
by Antonio Linares
Jules,

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

Posted: Mon Apr 03, 2006 12:04 pm
by Jules de Pierre
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

Posted: Mon Apr 03, 2006 12:08 pm
by Antonio Linares
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.