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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MFC ActiveX Control Wizard ...

Status
Not open for further replies.

daniloa

Programmer
Nov 23, 2001
27
BR

Hello, good afternoon for all, I'm with a problem, that is the follow:

I'd used the MFC ActiveX ControlWizard to create an ActiveX object that can be used on Visual Basic.
Ok.
I'd used tha class wizard to create a method to this OCX.
Ok.
the method is:

long CAx001Ctrl::TocaPrompt(long pCanal, LPSTR pPrompt, char *pStopTones)
{
}

Ok.

When I'm on VB I load the OCX control and digit the code:

XX.TocaPrompt()

and when I digit the "(" do not load the parameter lists, and any value that I pass return this message:

Function marked as restricted uses a Automation Type not supported on VB...

Well how can I correct this???

Very thanks,

Danilo ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top