_bSet() defined as external on clipapi.h

_bSet() defined as external on clipapi.h

Postby reinaldocrespo » Wed Oct 13, 2010 6: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.
User avatar
reinaldocrespo
 
Posts: 972
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

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

Postby Antonio Linares » Wed Oct 13, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Wed Oct 13, 2010 7:22 pm

Also:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby reinaldocrespo » Wed Oct 13, 2010 8: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.
User avatar
reinaldocrespo
 
Posts: 972
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

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

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

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

Postby reinaldocrespo » Thu Oct 14, 2010 4:29 pm

Antonio;

That did the trick. One more problem solved!

Thank you,


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 972
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests