Trying to compile Testrtf.prg

Post Reply
Jules de Pierre
Posts: 21
Joined: Mon Mar 20, 2006 12:48 pm
Location: Netherlands

Trying to compile Testrtf.prg

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

Post by Antonio Linares »

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
Jules de Pierre
Posts: 21
Joined: Mon Mar 20, 2006 12:48 pm
Location: Netherlands

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

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

Antonio Linares
www.fivetechsoft.com
Post Reply