Board index » cppbuilder » Main Program + Linked Lib Doesn't recognize de{*word*81} source code

Main Program + Linked Lib Doesn't recognize de{*word*81} source code


2007-07-21 08:46:01 AM
cppbuilder53
Main.cpp is in directory\Bcb\Projects\A...it is compiled with full debug...
the library project \Bcb\Lib\mylib.proj[??] is built with full 'debug' from
source files in \Bcb\Src\ and produces a lib that resides in c:\borland as
Mylib.lib.
mylib is included in Main project before link.
when run, and a exception occurs in one of the .cpp files in mylib, de{*word*81}
brings up what looks to be
assembler window...but doesn;t show the source. I had a similar problem in
BDS2006 so I would always copy the source files into the Project directory
whenI needed to debug....I was under the impression CG2007 fixed the
de{*word*81}....or should the library ALWAYS reside in the same directory as the
.cpp files \Bcb\Src ???? VC++ certainly does not work this way. Thanks in
advance.
 
 

Re:Main Program + Linked Lib Doesn't recognize de{*word*81} source code

ActuaryOne wrote:
Quote
Main.cpp is in directory\Bcb\Projects\A...it is compiled with full debug...
the library project \Bcb\Lib\mylib.proj[??] is built with full 'debug' from
Make sure the Linker is also set to debug (Linker/Linking)
Quote
assembler window...but doesn;t show the source. I had a similar problem in
In the older TD32, the de{*word*81} had it's own Source setting. Seems to have gone away.
This is how I've setup mine (2006):
Main.cpp in Exe folder
Application modules in App folder
File modules in Files folder
Library code in Lib folder
All *.h in same folder as the *.cpp they document
*.lib in the same folder as its source.
Main.exe Options CppCompiler PathsAndDefines has IncludeSearchPath set to all folders.
Project Group contains the Exe Project, and all 3 Lib Projects.