Does anyone have any information on using Tcom to call a method which has a pointer as input?
My method interface is
Connect(
[in] BSTR Server,
[in] BSTR ModelName,
[in] DATE BeginTime,
[in] DATE EndTime,
[in, optional] Field *fieldPointer
);
And the Tcom call (after instantiation of a object handle)
set NULL ""
$c Connect "cwslap" "Atpm_Messager" 0 0 NULL
always gives a "Type mismatch" error.
I've been told that by using a variable name as a parameter caused the invocation to pass along the memory pointer, but that doesn't seem to help. Also the tcom command "na" doesn't do the trick either. Given that it's optional in the interface leaving it off doesn't seem to help either. Any other suggestions?
My method interface is
Connect(
[in] BSTR Server,
[in] BSTR ModelName,
[in] DATE BeginTime,
[in] DATE EndTime,
[in, optional] Field *fieldPointer
);
And the Tcom call (after instantiation of a object handle)
set NULL ""
$c Connect "cwslap" "Atpm_Messager" 0 0 NULL
always gives a "Type mismatch" error.
I've been told that by using a variable name as a parameter caused the invocation to pass along the memory pointer, but that doesn't seem to help. Also the tcom command "na" doesn't do the trick either. Given that it's optional in the interface leaving it off doesn't seem to help either. Any other suggestions?