Figure 6 Compatibility Matrix for Versioning
Client Version |
Server Version |
IID Used |
Does it Work? |
Old client (v.1.0) |
Old component (v.1.0) |
Old IID (v.1.0) |
Yes |
Old client (v.1.0) |
New component (v.2.0) |
New IID (v.1.1) |
Yes |
New client (v.2.0) |
New component (v.2.0) |
New IID (v.1.1) |
Yes |
New client (v.2.0) |
Old component (v.1.0) |
N/A |
No (Visual Basic Error 430) |
Figure 7 Datatype Mappings
Visual Basic Type |
IDL Type |
Integer |
Short |
Long |
Long |
Byte |
unsigned char |
Single |
Float |
Double |
Double |
Boolean |
VARIANT_BOOL |
String |
BSTR |
Variant |
VARIANT |
Currency |
CURRENCY |
Date |
Date |
VBA array |
SAFEARRAY |
Object |
*IDispatch |