Page 1 of 1

Linking problem in FWH 8.05

Posted: Thu May 29, 2008 7:45 pm
by driessen
Hello,

I just changed from 8.04 to 8.05.

While compiling and linking, I got the linking error :
Unresolved external symbol '_HB_FUN_CLSACTIVE'
What is the problem ?

Thanks.

Regards.

Posted: Thu May 29, 2008 7:56 pm
by Antonio Linares
Michel,

If you are using xHB commercial, then you need a new beta from Patrick

Posted: Thu May 29, 2008 7:59 pm
by driessen
Antonio,

I don't understand why such problems occur ?

I can't use a beta version of Xhb since I need to send my application to my customers.

So, back to 8.04 is the only solution.

Regards.

Posted: Thu May 29, 2008 8:42 pm
by James Bott
Michel,

>I don't understand why such problems occur.

Well, think about it. FWH is moving ahead and you are working with an older version of Xhb. If you wish to continue using that version of Xhb, then you cannot necessarily use newer versions of FWH.

The only way these problems would never occur is if FWH was never updated until a new official release of Xhb was released.

James

Posted: Thu May 29, 2008 10:29 pm
by driessen
James,

Thanks for your answer.

But I still don't understand it.

A few years back, when we were all programming in FW for Clipper, we didn't need a new version of Clipper when a new FW-version arrived.

Since xHabour is the replacement of the Clipper compiler, what's the difference ?

(This is not ment as some critisism. I am just wandering why some things do happen).

Thanks.

Regards.

Posted: Fri May 30, 2008 1:38 am
by James Bott
Michel,

>A few years back, when we were all programming in FW for Clipper, we didn't need a new version of Clipper when a new FW-version arrived.

>Since xHabour is the replacement of the Clipper compiler, what's the difference ?

We didn't need a new version of Clipper because there wasn't one to be had. Now we have choices.

When we were working with the Clipper compiler we were stuck with the features that Clipper already had. Clipper was updated very infrequently and there was only one Clipper compiler. [However, you may remember that there WERE some incompatibilities with FW and Clipper 5.2 and 5.3.]

Now, there are multiple compilers (Harbour, xHarbour, Xhb) and they are constantly being improved. Wisely, FWH takes advantage of those new compiler features in newer versions of FWH. This allows us (as a group) to move ahead much faster than we ever could with Clipper.

Also note that Harbour is much more than a replacement for Clipper. It also handles the Win API, and adds tons of new features that Clipper doesn't have.

Keep in mind that FW has to be compatible with multiple compilers on multiple platforms (Windows, Linex, Mac, Pocket PC). This is an incredibly complex task and I am absolutely amazed that things run as smoothly as they do.

So, you have two choices, either stay with the older version of FWH that is compatible with your version of Xhb, or use the newer Xhb with the newer FWH. If you don't want to risk any new problems, then stick with the older versions of each.

Now we have choices--before we didn't.

Regards,
James

Posted: Fri May 30, 2008 1:57 am
by nageswaragunupudi
I think if fwh 8.05 library is rebuilt by compiling fwh source with xhb older version, 8.05 should work with the older xhb.

Posted: Fri May 30, 2008 11:40 am
by driessen
James,

Thanks a lot for your explanation. It is clear to me now.

But you may be sure that I do appreciate all the work to FWH, HB or XHB too.

Regards.

Posted: Fri May 30, 2008 12:00 pm
by xProgrammer
Hi all

Remember too that Clipper / Harbour / xHarbour aren't fully compiled - rather they produce an intermediate p-code. So we also have issues whenever there is a change to the structure of this code.

Regards
Doug
(xProgrammer)