How can I recompile utilcls.h? |
|
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.
|
Re: How can I recompile utilcls.h? |
|
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)
|