Microsoft Windows applications are usually written as either a console application or a windowed application there are other types such as services and plug-ins. The difference for the programmer is the difference in the interface for the main entry point for the application source provided by the programmer.
The executable entry point invoked by the loader is not the main entry point provided by the application programmer but is instead the Runtime provided by the compiler and the linker which creates the executable.
The Runtime sets up the environment for the application and then calls the main entry point provided by the programmer. A Windows console application may have several slightly different interfaces for the main entry point provided by the programmer. If you generate a Windows Win32 console application project using Visual Studio, the source generated will be the Windows specific version.
A Windows window GUI application has a different interface for the main entry point provided by the programmer. This main entry point provided by the programmer has a more complex interface because the Runtime sets up a GUI environment and provides additional information along with the application parameters.
This example explains the Windows window GUI main entry point interface. The timer identifier, nIDEvent , is specific to the associated window. Another window can have its own timer which has the same identifier as a timer owned by another window.
The timers are distinct. For an example, see Creating a Timer. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. SetTimer function winuser. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy. The Redistributable package architecture must match your app's target architecture.
The Redistributable version must be at least as recent as the MSVC build toolset used to build your app. We recommend you use the latest Redistributable available for your version of Visual Studio, with some exceptions noted below.
We recommend you install this version for all applications created using Visual Studio , , , or Download other languages and versions, including versions for long term servicing release channels LTSC , from my. Some of the downloads that are mentioned in this article are currently available on my.
Make sure to log in by using a Visual Studio Subscription account so that you can access the download links. If you're asked for credentials, use your existing Visual Studio subscription account. Or, create a free account by selecting the link in No account?
0コメント