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 ...