Page 1 of 1

GPF FWH 2006-06 with March xHb

Posted: Tue Jul 18, 2006 6:52 am
by AlexSchaft
Hi,

The following simple program creates gpf:

#include "fivewin.ch"

Function Main

Msginfo("Hello world!")

return nil

Built using xbuild helloworld.prg

Using FWH 2006-06 with Xhb 2006-03

Posted: Tue Jul 18, 2006 8:24 am
by Antonio Linares
Alex,

It looks as there may be some compatibility problem between xHB March and the xharbour current CVS code, used to build FWH (FiveHMX.lib).

Anyhow, we are going to do some more tests. Could you please email me your entire test-project as a ZIP file ? Thanks

Posted: Tue Jul 18, 2006 9:00 am
by Antonio Linares
Alex,

As you may be aware, xHB uses PellesC (renamed as xCC.exe). This is a C only compiler. It does not support C++.

But the current xHarbour Microsoft build, uses C++ (-Tp flag). So FWH for xHB (built using Microsoft C/C++) can't run with PellesC any longer.

We need to discuss this issue with Harbour/xHarbour developers, to find a solution. First of all we may need to use Microsoft in C mode only, and then recompile FWH accordingly.

Posted: Tue Jul 18, 2006 12:52 pm
by Antonio Linares
Alex,

Please discard my previous answer. It looks as there is a symbol conflict between FWH and xHB. We are looking for a solution.

Posted: Tue Jul 18, 2006 6:01 pm
by Antonio Linares
Alex,

If you include in your sample,

function ErrorSys

return nil

then it properly builds. Anyhow, it looks as there is an incompatibility between xHB march and current xHarbour CVS code (as in FWH June build we used the new xHarbour CVS code).

xHB is march dated. We may need a more recent version.

Posted: Tue Jul 18, 2006 6:24 pm
by AlexSchaft
the sample now is ok, but our big app still gpf's.

I'll wait for the new xhb

Posted: Tue Jul 18, 2006 10:28 pm
by Antonio Linares
Alex,

We have just tested FWH July 2006 with xHarbour builder July2006-RC7 and everything worked fine :)

You may download xHarbour builder July2006-RC7 and try it yourself.