Basic information:
1 operating system is Windows 7 pro,
2 borland Developer Studio 2006 tools,
3 original system maintenance,
Problem description:
4 system is part of the form, this part of the form and some events, when I code, if there are grammatical errors (any kind of error) at compile time, c + + builder will be directly exit, there is no prompt,
To illustrate clearly, I posted the test code is as follows:
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- normal tip -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Void __fastcall TBookingFormForm: : FormClose (TObject * Sender, TCloseAction & amp; The Action)
{
Int aaa=0
Action=caFree;
}
- such as lack of; Cannot pass, compile time, there is error,
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- abnormal exit -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Void __fastcall TBookingFormForm: : FormCreate (TObject * Sender)
{
Int aaa=0
}
- such as lack of; , compile without errors, but went out directly,
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
I search on the Internet, a colleague had a similar problem, but I set according to his method, no effect, the following posted his problems and solutions,
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * the following is the original
C + + builder in the process of debugging catch exceptions
The 2008-05-20 and 385 people read the review report (2) the collection
C + +
A I N long problem solved, depressed dead I
For a long time, could not catch exceptions when using a builder in the debug, once has the exception occurs, program directly interrupt, trycatch it like didn't put there
But to run the program directly when there is no problem, today can not stand, for the Internet to look for once, NND depressed dead
Originally in the tools/debugger options/language exception can be set in/
Really make people mad
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
which warrior have encountered similar problems, please help, thank you, if can, also QQ association, thank you, QQ: 258370115
CodePudding user response:
BDS2006 seemed to be free, but problems,No unicode, either back to B6, or forward to BDS2007.
CodePudding user response:
This kind of situation to see if there was any patch type, or to find a way to upgrade the versionCodePudding user response:
add this problem, the same tools, there are two systems, won't appear this kind of problem, another system will be related to code? If so, how to debug?CodePudding user response:
Normal compiler, no matter what kind of code, and can handle, get dead, with code must be compiler problems of its ownCodePudding user response:
Change the version,CodePudding user response:
2006 version, the series of Turbo is free, BDS is still a commercial, due to the middle of silence from 6.0 to 2006 years, and change is very big, so 2006 bugs or a lot of,CodePudding user response:
Change the cb2007, can't, Borland basically is to be yourself to death .CodePudding user response:
Need not trouble ourselves, decisive change versionChange in his latest XE6
CodePudding user response:
Suggest using rad stuido 2010 and later, 2006 haven't c + + builder 6 to use, with before, also had similar problem, can be automatically upgrade project with 2010 to 2010,CodePudding user response: