Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MFC Parameters

Status
Not open for further replies.

BenCowling

IS-IT--Management
Aug 6, 2001
5
0
0
GB
I've created an MCF ActiveX Control, and a method that accpets a char* as one of its parameters. Now I try and use the control in C# but the type it is asking for is a SByte. How can I achieve this?

Any help would be appreciated
 
If you've made an ActiveX control, you'd probably want to stick to cross-language data types. Try rewriting the method to accept a BSTR instead of a char *.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top