Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

filectrl.hpp causes unresolved external

36 views
Skip to first unread message

Matthias Peters

unread,
Oct 29, 2001, 8:08:11 AM10/29/01
to
Hello,
when I use a function from filectrl.hpp (like SelectDirectory) and I
choose to build my Program without runtime packages I get a "unresolved
external" error. I read of other people having the same problem, but
nobody had a solution so far. Can anyone of you please help us?

regards Matthew


Matthias Peters

unread,
Oct 29, 2001, 8:46:43 AM10/29/01
to
sorry, I`ve found the error myself: "filectrl.hpp" must be included in the
.h file, not in the .cpp unti.

Mauricio

unread,
Oct 29, 2001, 10:42:21 AM10/29/01
to
try this:

- open the project XML (bpr)
- find LIBRARIES and SPARELIBS tags
- add vclx50.lib within both tags

new tags should look like this:

<LIBRARIES value="vcl50.lib vclx50.lib"/>
<SPARELIBS value="vcl50.lib vclx50.lib"/>

- save and rebuild all


"Matthias Peters" <matthia...@web.de> wrote in message
news:3BDD54BB...@web.de...

Jonathan Arnold

unread,
Nov 20, 2001, 9:01:27 AM11/20/01
to
> when I use a function from filectrl.hpp (like SelectDirectory) and I


John Moore's posting:

> The problem is that for some reason, everything in filectrl.hpp is in
> vclx50.lib. There are 2 basic ways to fix this:
>
> 1) Close your project, edit the .bpr file and add vclx50.lib to the
> LIBRARIES and SPARELIBS lines:
> <LIBRARIES value="VCLX50.lib VCL50.lib"/>
> <SPARELIBS value="VCL50.lib VCLX50.lib"/>
>
>
> 2) Add a DriveComboBox (or any other component in filectrl), in the Win 3.1
> palette tab, to your form and then delete it. A side effect of doing this
> is that vclx50.lib is left in your .bpr file.
>
> This used to drive me crazy. If borland can't put these functions in
> vcl50.lib, it would be nice if they could put a note in the help for them
> about the workaround.
>
> John

--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html

James Lin

unread,
Jul 17, 2016, 8:48:38 PM7/17/16
to

Dear Mauricio:

Your answer solved my problem.
Thank you.

Mauricio於 2001年10月29日星期一 UTC+8下午11時42分21秒寫道:
0 new messages