嗨罗斯。>用户定义的类型如果这些用户定义的类型分解为简单类型(如short,long,float等),那么你可以要求提出这些控件的人重新定义lib类型。如果他们是
虽然很复杂(比如结构)然后你很好搞砸了。你可以问这些人们请将它们重新定义为Variant containstype SAFEARRAY,然后使用VEE 6并尝试弄清楚如何使用VEE&
传递那个。可能最好的想法是将控件升级到新版本,添加Interface2.FunctionName只需要简单类型,构建自定义类型并将其传递给原始函数。
我不是ActiveXdude,但在COM的世界里,这几乎是公认的做法。-SHAWN ----------------------------
------------------------------------------这是“vrf”maillist,
由Majordomo管理。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
----------------
以上来自于谷歌翻译
以下为原文
Hi Ross.
> user defined types
If these user-defined types break down to simple types (like short, long,
float, etc.) then you can ask the folks who came up with these controls to
please redefine the type lib.
If they're complex though (like structures) then you're pretty well screwed.
You can ask these kind folks to please redefine them as Variant containing
type SAFEARRAY, then use VEE 6 and try to figure out how to build a
SAFEARRAY with VEE & pass that.
Probably the best idea is to have the controls upgraded to a new version,
adding Interface2.FunctionName which would take only simple types, build the
custom types and pass that on to the original functions. I'm no ActiveX
dude, but in the world of COM this is pretty much the accepted practice.
-SHAWN-
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
嗨罗斯。>用户定义的类型如果这些用户定义的类型分解为简单类型(如short,long,float等),那么你可以要求提出这些控件的人重新定义lib类型。如果他们是
虽然很复杂(比如结构)然后你很好搞砸了。你可以问这些人们请将它们重新定义为Variant containstype SAFEARRAY,然后使用VEE 6并尝试弄清楚如何使用VEE&
传递那个。可能最好的想法是将控件升级到新版本,添加Interface2.FunctionName只需要简单类型,构建自定义类型并将其传递给原始函数。
我不是ActiveXdude,但在COM的世界里,这几乎是公认的做法。-SHAWN ----------------------------
------------------------------------------这是“vrf”maillist,
由Majordomo管理。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
----------------
以上来自于谷歌翻译
以下为原文
Hi Ross.
> user defined types
If these user-defined types break down to simple types (like short, long,
float, etc.) then you can ask the folks who came up with these controls to
please redefine the type lib.
If they're complex though (like structures) then you're pretty well screwed.
You can ask these kind folks to please redefine them as Variant containing
type SAFEARRAY, then use VEE 6 and try to figure out how to build a
SAFEARRAY with VEE & pass that.
Probably the best idea is to have the controls upgraded to a new version,
adding Interface2.FunctionName which would take only simple types, build the
custom types and pass that on to the original functions. I'm no ActiveX
dude, but in the world of COM this is pretty much the accepted practice.
-SHAWN-
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
举报