About 51 results
Open links in new tab
  1. What's the difference between the WIN32 and _WIN32 defines in C++

    Mar 16, 2019 · 65 WIN32 is a name that you could use and even define in your own code and so might clash with Microsoft's usage. _WIN32 is a name that is reserved for the implementor (in this case …

  2. Where is WIN32 defined, and how can I include this definition in my ...

    Feb 6, 2017 · The problem is that #if defined (WIN32) fails and the compilation fails when trying to #include unistd.h which I don't want to do. I have third party project that works with this header file …

  3. Which Cross Platform Preprocessor Defines? (__WIN32__ or __WIN32 or ...

    Jun 7, 2010 · I often see __WIN32, WIN32 or __WIN32__. I assume that this depends on the used preprocessor (either one from visual studio, or gcc etc). Do I now have to check first for os and then …

  4. Where does "win32" come from when I'm using windows 64bit

    14 tl;dr: "Win32" is still the common name of the Windows API, regardless of whether you're using it on a 32-bit or 64-bit machine. Background The Windows API was once called WinAPI, and the earliest …

  5. user interface - Creating GUIs in Win32 C++ - Stack Overflow

    Oct 19, 2015 · Here's a good primer (introduces dialog boxes, text boxes, buttons, etc): theForger's Win32 API Tutorial And here's where you go from there (numeric up-downs, list boxes, combo …

  6. windows - Why is everything named win32? - Stack Overflow

    Aug 1, 2017 · The introduction of "Win32" was the last substantial change to the Windows API, and it's called "Win32" regardless of the target architecture. The SDK headers use _WIN32 to select the API. …

  7. How to detect Windows 10 light/dark mode in Win32 application?

    Jul 14, 2018 · A bit of context: Sciter (pure win32 application) is already capable to render UWP alike UIs: in dark mode: in light mode: Windows 10.1803 introduces Dark/Light switch in Settings applet as …

  8. Should I define both _WIN32 and _WIN64 in 64bit build?

    6 _WIN32:Defined for applications for Win32 and Win64. Always defined. _WIN64:Defined for applications for Win64. More detail: Predefined Macros . To put it simply, WIN32/_WIN32 is used to …

  9. visual studio - C++ MSVC14.0 での WIN32マクロについて - スタック …

    はじめまして.質問を見ていただいてありがとうございます. 私は最近,MSVC12.0(以降VC12)からMSVC14.0(以降VC14)への移行を始めた者です. 症状と原因 VC12では動作できていたオー …

  10. Using dark mode for Win32 statusbar - Stack Overflow

    Jan 22, 2025 · It refers to using undocumented API to use dark mode in Win32 projects (if the OS is of a certain version). I find that it works, but not for status bars (and a few other controls).