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 > Win32Platform > Win7以降でチェックの必要はあるのだろうか?

Last updated at Posted at 2015-11-22
関連IDE
C++ Builder XE4

delphiのコードで以下の条件文を見た

if Win32Platform = VER_PLATFORM_WIN32_NT then  

XE4のヘルプを見ると System.SysUtils.Win32Platformとしてヘルプがある。

  • VER_PLATFORM_WIN32s --> システムは Win32s である
  • VER_PLATFORM_WIN32_WINDOWS --> システムは Windows 95 である。
  • VER_PLATFORM_WIN32_NT --> システムは Windows NT である

しかしながら、SOには以下の記載がある (RRUZさんの回答)。

if Win32Platform = VER_PLATFORM_WIN32_NT then
FYI Delphi XE2 only runs on WinNT based systems

XE4でWindows7以降のアプリの場合、Win32Platform のチェックは無意味なのかもしれない。

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?