How does web pages use the ActiveX's function?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
how does script language to use my function exposed by IDispatch?for Example:there is a function declare as: long add(long n1,long n2),the script how to call this function?
Later buggers harm more.
simply create your automation object and call the function! Your methods defined in IDispatch are exposed by default, if this is not working then you're doing something wrong with your COM object, check your idl, make sure your object has been registered and that you can see the interface using the oleview tool of your registered COM object!
Yours Truly, The One and Only!