diff --git a/src/activeqt/control/qaxserver.cpp b/src/activeqt/control/qaxserver.cpp
index b02c38bc4d95091bbca89a6095e79a5f934cfc34..35a32dd5a873fb60525017d46b02ae201b8de2c7 100644
--- a/src/activeqt/control/qaxserver.cpp
+++ b/src/activeqt/control/qaxserver.cpp
@@ -490,10 +490,10 @@ static const char* const type_map[][2] =
     { "QVariant",       "VARIANT" },
     { "QVariantList",    "SAFEARRAY(VARIANT)" },
     { "QList<QVariant>", "SAFEARRAY(VARIANT)" },
-    { "quint64",        "CY" },
-    { "qint64",         "CY" },
-    { "qulonglong",     "CY" },
-    { "qlonglong",      "CY" },
+    { "quint64",        "unsigned hyper" },
+    { "qint64",         "hyper" },
+    { "qulonglong",     "unsigned hyper" },
+    { "qlonglong",      "hyper" },
     { "QByteArray",     "SAFEARRAY(BYTE)" },
     { "QStringList",    "SAFEARRAY(BSTR)" },
     // Userdefined Qt datatypes - some not on Borland though