AnsweredAssumed Answered

vrf ActiveX, Variants and ByRef

Question asked by VRFuser on Sep 24, 2003
> Not sure when you find time to do your 'day job'

Ugh! Yesterday I got to sit in front of a computer for seven hours feeding
it CDs. It hasn't been very intellectually taxing lately.

> BTW, I tried the various asVariant(asInt16()) castings plus every other
> permutation I could think of to no avail.

Bummer. This can only mean VEE doesn't do SAFEARRAY. This has to go on the
list of things to check out.

> write a simple dll to convert the data from VEE into the required
> type for the OCX.

That works wonderfully. Check out SafeArrayCreateVector,
SafeArrayPutElement, SafeArrayDestroy and VariantInit, all in the Automation
SDK.
-SHAWN-

P.S. I knew a Mike Watts about 25 years ago. Does OHS mean anything to you?


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes