summaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 9f5296c..d0b94a6 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -27,6 +27,15 @@ namespace W32DLib
// ------------------------------------------------------------
//
+void Common::Initialise()
+{
+ InitCommonControls();
+ CoInitialize(NULL);
+}
+
+
+// ------------------------------------------------------------
+//
void Common::Message(HWND parent, const char *msg)
{
::MessageBox(parent,msg,"Message",MB_ICONINFORMATION|MB_OK);