TCColorGrid, Link error. How can i unlink?

c++ builder


  • 1. Looking for a C++ source version of GRIDS.PAS
    Before I take on the task of _trying_ to convert [BCB]\sources\vcl\grids.pas to C++, I was wondering if someone already has converted it to C++, and made it available for BCB users? My (few) reasons for a C++ version: - To have a grid which allows fixed rows/columns without the requirement of also having at least one "normal" row/column. (I want to be able to have 'RowCount == FixedRows') - Making a few speed improvements here and there, by removing facilities I dont need (like RightToLeft). - Adding new facilities, which might require access to private variables/functions of TCustomGrid. - I know that BCB can compile Delphi/Pascal files, but I am not so keen on having to maintain an interface in both Pascal and C++. -- /Decker
  • 2. Access to database
    Can I get some hint of how to get access to a paradox database (D5 pro) using TTables and TQueries from a descend of the TComponent ? Bruno
  • 3. ComponentDesigner.dcu not found
    Hello currently I try to compile a 3rd party Delphi component in the BCB6. The components are splitted in designtime and runtime. When I try to compile the designtime part the compiler produces the followin error message in the file ClxDesignWindows.pas "File not found: ComponentDesigner.dcu" at the following line of ClxDesignWindows.pas uses SysUtils, Classes, Qt, QControls, QForms, DesignIntf, ComponentDesigner; The same problem occurs, compiling a VCL Version of the component, but then in the file DesignWindows.pas Whats going wrong ??? best regards Martin Kaul

TCColorGrid, Link error. How can i unlink?

Postby Jaepil Kim » Fri, 08 Oct 2004 09:06:53 GMT


I m using BCB5 Standard.

On my form i used to have TColorDialog, and TCGauge controls
from Sample Controls that came with install.

I removed them to recover correct application icon for the app.

I did that by
1) Deleting the controls from the form
2) Open source via 'Project > Edit Option Source' then
    manually removing 'bcbsmp50.lib' from <LIBRARIES> and
    <SPARELIBS> tags.

Now when i compile, my from gives me a bunch of link error
message regarding to TCColorDialog control.

How can i delete these controls properly?

Programer - SplashMedia

Re: TCColorGrid, Link error. How can i unlink?

Postby JD » Fri, 08 Oct 2004 22:40:25 GMT

You need to also remove the apropriate #includes from the
header and/or #program link from the source. To determine
which is which, start a new application, note what isn't there
and drop the offending component(s) on the form.

~ JD

BTW : This question would have best been asked in the vcl.using

Re: TCColorGrid, Link error. How can i unlink?

Postby Jaepil Kim » Sat, 09 Oct 2004 06:12:39 GMT


Thansk for the tips.

One of the included header files on my main form had
links to the offending components.

Programer - SplashMedia

Similar Threads:

1.Log files and cans of worms

I'm quite sure this could start a lot of arguements :p.

If i am creating a log file that is constantly added to during the
lifetime of my program, is it best to have a permanent Streamwriter
object that i write to and then flush after each comment, or to spawn a
new one each time i need to add to the log? Or maybe there's some
magical medium i haven't heard of?

Forget the postcards, just post your answers here instead.


2.A Linking Error in when linking to a dll


Can anyone give me any advice on what the dll : CEUDPPerfExt.dll in Windows
CE 4.0 is for?
The methods implemented in it include:


It's becaue I have a WinCE .net dll which call this dll but there is a
runtime error that some dll are nto linked properly.



3.Unresolved link error, link incremental DID NOT fix!!!!

I posted a message about including a GSM library in VC++ 6.0 on a new project and I thought I had fixed it by selecting "link incremental". Well, I found out that DID NOT FIX IT. I had commecnted out the offending line:
gsmh = gsm_create();
for other testing, and forgot to uncomment it when I made the linker change ( I blame a 13 hour day for that). However, now I am right back where I started Here is the original post. Any help greatly appreaciated.

I wrote an application in VC++ 5.0 that used an external library for GSM 6.10 encode/decode and it worked fine. I started using VC++ 6.0, built the app under it and it worked fine. Now I find myself creating a new app using GSM 6.10 in VC++ 6.0, but I have run into a problem.

I add the file gsm.lib by 
Project->Setting->link->Object/library modules for all configurations. winnmm is also declared there and all calls to it's functions work fine.

But, when I attempt to build and call gsm_create() I get the following error:
 error LNK2001: unresolved external symbol "struct gsm_state * __cdecl gsm_create(void)" (?gsm_create@@YAPAUgsm_state@@XZ)

It must be finding the gsm.lib file because if I change it's name to something like gsm.lib.t, the linker complains of no such file gsm.lib.

Why am I getting the unresolved error?

tj error lnk2003 while linking IA64 application

I am porting my application to IA64, and get the following linker errors:
the application uses a DLL and static lib.

        libldif64.lib(line64.o) : error LNK2003: gp relative fixup to symbol not in short data section 'ldap_debug'

the above symbol 'ldap_debug' is an 'int' defined in the DLL and is being referenced as an 'extern int' in the static lib -libldif64.lib

I am using the Win64 tools from the Feb2003 Platform SDK.


why would unlink return an error 13 for a file created by the same app,
using file_attrib_normal, opened the same way and the time of trying to
delete it, that is currently not opened?

6. Project links just fine in VC6 but link errors in 7.1

Return to c++ builder


Who is online

Users browsing this forum: No registered users and 48 guest