summaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-04-11 23:00:49 +0000
committerIan C <ianc@noddybox.co.uk>2005-04-11 23:00:49 +0000
commitf3ed8d376f743968a824819e9110272288607da4 (patch)
tree4c5b1d1fdb6984b28bbfa5013d7519b4f4a7e33b /src/common.cpp
parenta6c8b4498363db99d0de8f15e7bc8a9cfc1a7f81 (diff)
Added Common::Initalise() and updated libraries
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);