Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
When you write an application, you create a single CWinApp-derived object. At times, you may want to get information about this object from outside the CWinApp-derived object.
The Microsoft Foundation Class Library provides the following global functions to help you accomplish these tasks:
Application Information and Management Functions
Decrements the reference count of the loaded dynamic-link library (DLL) module; when the reference count reaches zero, the module is unmapped. |
|
Returns a pointer to the application's single CWinApp object. |
|
Returns a string containing the application's name. |
|
Returns an HINSTANCE representing this instance of the application. |
|
Returns a pointer to the current "main" window of a non-OLE application, or the in-place frame window of a server application. |
|
Returns an HINSTANCE to the source of the application's default resources. Use this to access the application's resources directly. |
|
Initializes the version 1.0 rich edit control for the application. |
|
Initializes the version 2.0 and later rich edit control for the application. |
|
Maps a DLL module and returns a handle that can be used to get the address of a DLL function. |
|
Registers a Windows window class to supplement those registered automatically by MFC. |
|
Called in a CWinApp::InitInstance override to initialize Windows Sockets. |
|
Sets the HINSTANCE handle where the default resources of the application are loaded. |
|
Registers a window class in a DLL that uses MFC. |
|
Creates a new thread. |
|
Terminates the current thread. |
|
Retrieves a pointer to the current CWinThread object. |
|
Called by the MFC-supplied WinMain function, as part of the CWinApp initialization of a GUI-based application, to initialize MFC. Must be called directly for console applications using MFC. |