Home > database >  Excuse me each ace to questions about the PB call OCX, urgent, thank you.
Excuse me each ace to questions about the PB call OCX, urgent, thank you.

Time:10-02

I use PB calls a OCX controls, the control of a function the getimage need a byte array pointer as arguments, I use the char [] to replace, but PB error,
Error: r0035 error calling external object function query consult everybody, should use what type into can, thanks a lot!

CodePudding user response:

Pb11 a byte

CodePudding user response:

That I'm using the PB10, can be solved excuse me?

CodePudding user response:

Like 10.5 have you upgrade!

CodePudding user response:

Ha ha, I now is in a set of procedures and add a little features, upgrade even if not possible, or thank you,

CodePudding user response:

Try the blob

CodePudding user response:

Tried, I pass a BLOB of variables, the same error

CodePudding user response:

Blob you to specify the length
BLOB {10} LBOB_SOME

CodePudding user response:

I am specifies the length, or not, the getimage this function to a long type BYTE array pointer,

CodePudding user response:

BYTE * pImage;
PImage=new byte [610].
M_FP. GetImage ((long *) & amp; PImage);

This is I call the statement in the VC, can pass, that can help to PB can also pass, thank you!

CodePudding user response:

Blob lb
Lb=blob (space (610))//allocated memory, look at how much you use the
M_fp. object . The getimage ( ref lb)

CodePudding user response:

I was upstairs
The GetImage
Will divide the capitalization.