FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour _bSet() defined as external on clipapi.h
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM

_bSet() defined as external on clipapi.h

Posted: Wed Oct 13, 2010 06:48 PM
Hi.

I see that _bSet() is declared as an external func in ClipApi.h. The question is: exactly where?


MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
f:\borland\bcc582\bin\ilink32.exe -Gn -aa -Tpe -s -I\mp\ReleaseBranch\MpAdmin @MAKE0000.@@@
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '__bset' referenced from F:\FWH_2010_09


I did not have this problem with an older version of xharb + fwh + bcc55. I'm now trying to compile with current xharb + current fwh + bcc582.

I'm not sure what am I missing in my link script.

Can someone help?


Thank you,


Reinaldo.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: _bSet() defined as external on clipapi.h

Posted: Wed Oct 13, 2010 07:19 PM

Reinaldo,

Please do this on FiveHC.lib and try to link again:

c:\bcc582\bin\tlib fivehc.lib - shfile.obj

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: _bSet() defined as external on clipapi.h

Posted: Wed Oct 13, 2010 07:22 PM

Also:

c:\bcc582\bin\tlib fivehc.lib - nddeapi.obj

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM

Re: _bSet() defined as external on clipapi.h

Posted: Wed Oct 13, 2010 08:41 PM

Antonio;

Thank you for your reply.

Nothing changed. I still get the same error.

Perhaps I should have explained that I'm calling _bset() from inside a .c source file that I'm including as part of my project.

Maybe there is a substitute for _bset( P_to_str, ch, nbytes )?

Any other ideas?

Reinaldo.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: _bSet() defined as external on clipapi.h

Posted: Thu Oct 14, 2010 12:06 AM

Reinaldo,

Simply replace _bset() with memset(). Same parameters and it belongs to standard C runtime functions :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM

Re: _bSet() defined as external on clipapi.h

Posted: Thu Oct 14, 2010 04:29 PM

Antonio;

That did the trick. One more problem solved!

Thank you,

Reinaldo.

Continue the discussion