--- a/ooDialog/trunk/ooDialog/oodShellObjects.cpp
+++ b/ooDialog/trunk/ooDialog/oodShellObjects.cpp
@@ -4052,6 +4052,11 @@
  */
 RexxMethod1(RexxObjectPtr, cde_init, OSELF, self)
 {
+    if ( ! requiredOS(context, Vista_OS, "CommonDialogEvents", "Vista") )
+    {
+        return TheOneObj;
+    }
+
     CommonDialogEvents *pcde = new (std::nothrow) CommonDialogEvents(self, context->threadContext->instance);
 
     RexxBufferObject bufObj = context->NewBuffer(sizeof(CCommonDialogEvents));