Board index » cppbuilder » problems with opendialog and savedialog within the ide
Juan Ignacio Videla
![]() CBuilder Developer |
Juan Ignacio Videla
![]() CBuilder Developer |
problems with opendialog and savedialog within the ide2004-01-21 09:12:54 PM cppbuilder34 When I execute the program using run, it appears the cpu registers in a window and stop its execution, but when I build it and run it as a separated program everything is ok, any idea of how to solve this {*word*193} problem? void __fastcall TForm1::LoadProjectClick(TObject *Sender) { if (OpenDialog1->Execute()) { try { TreeProject->LoadFromFile(OpenDialog1->FileName); } catch(...) { Application->MessageBox("Can't perform one of the following file operations: Open, Seek, Read, Close.", "File Error", IDOK); } } } |
Detlef
![]() CBuilder Developer |
2004-01-21 09:26:28 PM
Re:problems with opendialog and savedialog within the ide
Hi,
if I understand you right, you start your program from the ide it occurs a window with the title "CPU". This is the window from the internal de{*word*81}. Have a look into the menu "view/ debug window". Detlef "Juan Ignacio Videla" < XXXX@XXXXX.COM >schrieb im Newsbeitrag QuoteWhen I execute the program using run, it appears the cpu registers in a |
Juan Ignacio Videla
![]() CBuilder Developer |
2004-01-21 09:32:05 PM
Re:problems with opendialog and savedialog within the ide
Yes I know, but it appears because of some kind of debuging and stop the
execution of the program. Do you know how to avoid this? Detlef wrote: QuoteHi, {smallsort} |
Detlef
![]() CBuilder Developer |
2004-01-21 10:32:23 PM
Re:problems with opendialog and savedialog within the ide
I think you disabled the debug information from the project. Enable it
again: Project/Options/Compiler Press the button "Full debug" lower left corner on the tab. Without the debug information, the integrated de{*word*81} ( startet with run) knows nothing about the program, so it shows the assember code. Hope this will help. Detlef "Juan Ignacio Videla" < XXXX@XXXXX.COM >schrieb im Newsbeitrag QuoteYes I know, but it appears because of some kind of debuging and stop the |
JD
![]() CBuilder Developer |
2004-01-22 06:11:06 PM
Re:problems with opendialog and savedialog within the ide |
Juan Ignacio Videla
![]() CBuilder Developer |
2004-01-22 06:59:13 PM
Re:problems with opendialog and savedialog within the ide
The full debug option is enabled, after the cpu window appears I keep
pressing the F9 key for sometime and the opendialog modal window finally appear... I am working in windows 2000 is there any incompatibility reported? Detlef wrote: QuoteI think you disabled the debug information from the project. Enable it |