Mega Search
23.2 Million


Sign Up

Make a donation  
How can I recompile utilcls.h?  
News Group: embarcadero.public.cppbuilder.language.cpp

Hi,
I'm not very familiar with C++ Builder. I'm using CBuilder 5 and I need to make some changes in Vcl/utilcls.h. Even though I've modified the file and did a project-rebuild (the file being included) when I debug it is still using the old code and I can see that the breakpoints markers are at different lines (it let's me stop the program to a line which is now commented).

Any help would be apreciated, thanks.

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 19-Jan-2015, at 4:00 AM EST
From: Cosmin Dan
 
Re: How can I recompile utilcls.h?  
News Group: embarcadero.public.cppbuilder.language.cpp
Cosmin wrote:

> I'm not very familiar with C++ Builder. I'm using CBuilder 5 and I
> need to make some changes in Vcl/utilcls.h.

Then do so.  It is just a header file, it will be compiled every time it 
is #include'd in a source file.  Unless you have included it in a pre-compiled 
header, in which case you need to recompile that file.

> Even though I've modified the file and did a project-rebuild (the
> file being included) when I debug it is still using the old code

Then you are likely not compiling against your modified file.  There is probably 
an older file present somewhere on your project's search path, and the compiler 
is finding that file instead of your modified file.  You can use a tool like 
SysInternals ProcessMonitor to check that:

http://technet.microsoft.com/en-us/sysinternals/bb896645

-- 
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Jan-2015, at 1:11 PM EST
From: Remy Lebeau (TeamB)