中の技術日誌ブログ

C#とC++/CLIと
VBと.NETとWindowsで戯れる
 

目次

Blog 利用状況

ニュース

自己紹介

東京でソフトウェアエンジニアをやっています。
お仕事大募集中です。
記事執筆や、講師依頼とかでも何でもどうぞ(*^_^*)
似顔絵 MSMVPロゴ
MSMVP Visual C# Since 2004/04-2013/03

記事カテゴリ

書庫

日記カテゴリ

00-整理

01-MSMVP

stdafx.cpp, stdafx.hってなによ?

プリコンパイル済みヘッダーファイル用のヘッダファイルと、それを読み込ませるためのcppダミーファイルです。

C++/CLIではプロジェクトを作成する際のウィザードがありませんので、プリコンパイル済みヘッダの利用する/しないを設定することが出来ません。

このファイルがあると.hファイルを読み込む際に速く処理されるようになりますが、C++/CLIではあまり必要ではありません。

消すためには?

stdafx.cpp, stdafx.hを削除します。

プロジェクトプロパティの構成プロパティ→C/C++→プリコンパイル済みヘッダー→プリコンパイル済みヘッダーの作成/使用を

プリコンパイル済みヘッダー ファイルを使用する (/Yu)

プリコンパイル済みヘッダーを使用しない

にすればOK

投稿日時 : 2006年7月21日 0:38

コメントを追加

# re: stdafx.cpp, stdafx.hってなによ? 2006/09/08 14:42 通りすがり

参考になりました。
ありがとうございます。

# re: stdafx.cpp, stdafx.hってなによ? 2008/08/29 17:10 nanashi

glut関係で困ってました。
これがネックになってたみたいです。
助かりました、ありがとうございます。

# re: stdafx.cpp, stdafx.hってなによ? 2012/01/21 19:05 tk

すごい初歩的なところで躓いてて参考になりました。ありがとうございます。

# <url>http://www.autosinsurance4u.com/|free car insurance quotes</url> 13071 <url>http://www.insuranceslife.net/|life insurance online quote</url> 8DDD <url>http://www.oldstylelist.com/|auto insurance</url> zkts 2012/10/15 0:38 Staysha

<url>http://www.autosinsurance4u.com/|free car insurance quotes</url> 13071 <url>http://www.insuranceslife.net/|life insurance online quote</url> 8DDD <url>http://www.oldstylelist.com/|auto insurance</url> zkts

# Excellent beat ! I wish to apprentice at the same time as you amend your web site, how could i subscribe for a blog site? The account helped me a appropriate deal. I were a little bit familiar of this your broadcast provided vibrant clear concept 2019/05/09 1:03 Excellent beat ! I wish to apprentice at the same

Excellent beat ! I wish to apprentice at the same time as you amend your web site, how
could i subscribe for a blog site? The account helped me a appropriate deal.
I were a little bit familiar of this your broadcast provided vibrant clear concept

# Tremendous things here. I am very happy to see your article. Thanks so much and I'm looking forward to touch you. Will you kindly drop me a mail? 2019/05/10 0:31 Tremendous things here. I am very happy to see yo

Tremendous things here. I am very happy to see your article.
Thanks so much and I'm looking forward to touch
you. Will you kindly drop me a mail?

# WOW just what I was searching for. Came here by searching for g 2019/05/11 23:59 WOW just what I was searching for. Came here by se

WOW just what I was searching for. Came here by searching
for g

# Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents. 2019/09/18 20:42 Because the admin of this web site is working, no

Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents.

# Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents. 2019/09/18 20:43 Because the admin of this web site is working, no

Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents.

# Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents. 2019/09/18 20:44 Because the admin of this web site is working, no

Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents.

# Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents. 2019/09/18 20:45 Because the admin of this web site is working, no

Because the admin of this web site is working, no uncertainty very rapidly it will be famous, due to its feature contents.

# You should be a part of a contest for one of the highest quality sites on the net. I'm going to highly recommend this blog! 2019/10/11 13:58 You should be a part of a contest for one of the h

You should be a part of a contest for one of the
highest quality sites on the net. I'm going to
highly recommend this blog!

タイトル  
名前  
URL
コメント