by kornalius » Aug 18, 2004 @ 3:54am
I think I will leave it this way for now and see what the beta testers come up with. I will then get solid samples and I will see what can be done. So far, the COM functions work very well.
#IMPORT "activex.dll"
CreateObject("clsid or progid")
Invoke(objecthandle$, "method name", [parameters...])
GetProperty(objecthandle$, "property name")
SetProperty(objecthandle$, "property name", value)
T(Value, VariantType)
CreateSafeArray()
SafeArrayDestroy()
I have support for all types of VARIANT including SafeArrays.
The T() function converts a value to a specific VARIANT type. ex:
T(10, VT_BSTR)