1
這是我之前詢問的這個問題的後續問題。順便說一句感謝尼爾·巴特沃思的幫助 Issue compiling c++ in c++builderC++ Builder編譯問題
快速回顧一下。我目前正在爲大學開發一個C++程序,我在個人計算機(Mac)上使用Netbeans 6.8,並且這一切都很完美。當我嘗試他們在我的Windows分區或在大學電腦使用C++ Builder的2009年& 2010我得到幾個編譯它,通過加入下面的頭文件來解決錯誤:
#include <string>
但是現在該程序的功能編譯但它不運行,只是一個空白的控制檯。而我得到的編譯器的事件日誌如下:
Thread Start: Thread ID: 2024. Process Project1.exe (3280)
Process Start: C:\Users\Carlos\Documents\RAD Studio\Projects\Debug\Project1.exe. Base Address: $00400000. Process Project1.exe (3280)
Module Load: Project1.exe. Has Debug Info. Base Address: $00400000. Process Project1.exe (3280)
Module Load: ntdll.dll. No Debug Info. Base Address: $77E80000. Process Project1.exe (3280)
Module Load: KERNEL32.dll. No Debug Info. Base Address: $771C0000. Process Project1.exe (3280)
Module Load: KERNELBASE.dll. No Debug Info. Base Address: $75FE0000. Process Project1.exe (3280)
Module Load: cc32100.dll. No Debug Info. Base Address: $32A00000. Process Project1.exe (3280)
Module Load: USER32.dll. No Debug Info. Base Address: $77980000. Process Project1.exe (3280)
Module Load: GDI32.dll. No Debug Info. Base Address: $75F50000. Process Project1.exe (3280)
Module Load: LPK.dll. No Debug Info. Base Address: $75AB0000. Process Project1.exe (3280)
Module Load: USP10.dll. No Debug Info. Base Address: $76030000. Process Project1.exe (3280)
Module Load: msvcrt.dll. No Debug Info. Base Address: $776A0000. Process Project1.exe (3280)
Module Load: ADVAPI32.dll. No Debug Info. Base Address: $777D0000. Process Project1.exe (3280)
Module Load: SECHOST.dll. No Debug Info. Base Address: $77960000. Process Project1.exe (3280)
Module Load: RPCRT4.dll. No Debug Info. Base Address: $762F0000. Process Project1.exe (3280)
Module Load: SspiCli.dll. No Debug Info. Base Address: $759F0000. Process Project1.exe (3280)
Module Load: CRYPTBASE.dll. No Debug Info. Base Address: $759E0000. Process Project1.exe (3280)
Module Load: IMM32.dll. No Debug Info. Base Address: $763F0000. Process Project1.exe (3280)
Module Load: MSCTF.dll. No Debug Info. Base Address: $75AD0000. Process Project1.exe (3280)
我會很感激,關於如何解決這個問題的任何幫助或想法。
P.S:如果有人想知道爲什麼我堅持使用C++ Builder,是因爲它是IDE教授用來評估我們的任務。
就像我知道的CodeGear(Borland公司過去)有自己的編譯器,通常可以很有點問題。你有沒有嘗試在調試模式下運行你的程序?它停在哪裏? – Adi 2010-03-17 22:52:04
@Adi:它不停止。 「檢查項目依賴關係...」 「編譯Project1.cbproj(調試配置)」 「成功」 – Carlos 2010-03-17 23:04:26
好的。但是,你是否試圖在代碼的開頭放置一個斷點,例如FormCreate()事件或main()函數? – Adi 2010-03-17 23:09:46