Call vb ocx control problems, good anxious.

Declare function:
function Get_Record_ALL(const GRA_Port_Com: WideString; const GRA_Address_Com: WideString;
GRA_WaitTime_Com: Integer; GRA_ZhiZheng: Integer; var GRA_Num: Integer;
var GRA_SKY: {??PSafeArray}OleVariant;
var GRA_Date: {??PSafeArray}OleVariant;
var GRA_Card: {??PSafeArray}OleVariant;
var GRA_Type: {??PSafeArray}OleVariant;
var GRA_XF_Now: {??PSafeArray}OleVariant;
var GRA_XF_YuE: {??PSafeArray}OleVariant;
var GRA_Card_Liu: {??PSafeArray}OleVariant;
var GRA_Mach_Liu: {??PSafeArray}OleVariant;
var GRA_QuHao: {??PSafeArray}OleVariant): Integer; dispid 1610809351;

Call
var
Record_SKY: OleVariant;
Record_Date: OleVariant;
Record_Card: OleVariant;
Record_Type: OleVariant;
Record_XF_Now: OleVariant;
Record_XF_YuE: OleVariant;
Record_Card_Liu: OleVariant;
Record_Mach_Liu: OleVariant;
Record_QuHao: OleVariant;
begin
if Get_Record_ALL('192.168.1.14', '543543', 1000, 28, Record_Num, Record_SKY,
Record_Date, Record_Card, Record_Type, Record_XF_Now, Record_XF_YuE, Record_Card_Liu,
Record_Mach_Liu, Record_QuHao) = 0 then

The emergence of "type mismatch errors, painful."

Started by Broderick at February 04, 2016 - 7:15 PM

No one knows? ?

Posted by Broderick at February 08, 2016 - 8:02 PM

Landlord, you this OCX control is the OFA consumption machine read consumption records of it, I have encountered the same problem now, don't know how you solve this no?
If the solution will tell you, lest more pain and worry!

Posted by Leo at February 21, 2016 - 8:34 PM

The above problem is not solved, finally I protocol write function to read by

Posted by Broderick at December 20, 2016 - 4:25 PM

The underlying protocol? The manufacturers to do?

Posted by Leo at January 02, 2017 - 5:47 PM

To share this Agreement:?

Posted by Leo at January 03, 2017 - 5:32 PM

Posted by Mariah at January 04, 2017 - 5:14 PM

We want to send private messages to you, but because there is no "mutual interest", don't!!!

Posted by Leo at January 05, 2017 - 6:49 PM

No, if you want to leave a mailbox.

Posted by Broderick at January 12, 2017 - 5:52 PM

Hello, OFA the development agreement can sent me, I also encountered a problem!!EMAIL:
Thank you!

Posted by Andy at January 14, 2017 - 5:15 PM