0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

c++ builder > IDE > プロジェクト Project1.exeは例外クラスEAccessViolation(メッセージ 'アクセス違反') を送出しました > [プロジェクト]-[$プロジェクト名$をクリーンアップ] / [F9]

Last updated at Posted at 2015-11-19
動作確認
C++ Builder XE4

Alt+F9にて変更したユニットファイルだけをコンパイルして実行すると以下のエラーがでて停止することがたびたび起きる。

プロジェクト Project1.exeは例外クラスEAccessViolation(メッセージ 'アクセス違反') を送出しました

これまでの対応では Shift+F9 でビルドをすることだったが、以下の欠点がある。

  1. ビルド番号が増える
  2. 修正のないユニットを再度ビルドする時間がかかる

try 1

以下の方法で回避できるようだ。

  1. Alt+F9で修正したユニットをコンパイルする
  2. Win32\Debug\にあるProject1.* ファイルをすべて消す (ただし、Project1.exeは除く)
  3. 実行する

こちらの方法だとビルド番号が増えない。

try 2

(追記 2016/01/07)

以下の方法でも回避できる

  1. [プロジェクト]-[$プロジェクト名$をクリーンアップ]
  2. F9

こちらの場合、ビルド番号が増えないような気がする。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?