Version

    Other Documentation

menu_open
Wwise SDK 2022.1.11
AK.Wwise::Plugin::PluginMFCWindows< CWinApp > Class Template Reference

Initializes MFC for this plug-in. More...

#include <PluginMFCWindows.h>

Public Member Functions

 PluginMFCWindows ()
 Initializes g_theApp singleton. More...
 

Static Public Member Functions

static CWinApp * GetMFCApp ()
 Retrieves the CWinApp singleton. More...
 

Detailed Description

template<typename CWinApp = ::CWinApp>
class AK.Wwise::Plugin::PluginMFCWindows< CWinApp >

Initializes MFC for this plug-in.

By default, an MFC-based DLL initializes itself when the DLL is loaded. However, not all plug-ins in a DLL container require MFC, so this makes sure to initialize MFC only on instantiation of a particular plug-in.

If you need to modify the CWinApp class on your own, you can update the template.

Note: This should be the first interface of the plug-in, as it needs to be initialized before anything.

Definition at line 68 of file PluginMFCWindows.h.

Initializes MFC for this plug-in.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise