windows.h で createFile、readFile などのファイル関数を使用しており、Windows 7 で開発しています。プログラムの Windows XP ユーザーについて心配する必要がありますか? それらはkernel32.dllの異なるバージョンを持っていますよね?
2 に答える
0
Visual Studio を使用している場合は、stdafx.h (プリコンパイル済みヘッダー) を確認してください。ベース Windows バージョンをターゲットにするために設定するマクロについてアドバイスする必要があります。このようなもの:
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
于 2013-05-17T04:15:50.620 に答える