MFC ActiveX & VBScript access
-
Hello COM gurus :-D I'm trying to create a UI-less MFC ActiveX control that can be accessed from VBScript in an HTML page. I'm not using ATL because I want to minimize the possibility that the user's machine needs a restart. I've looked at MSDN's safectl tutorial which implements IObjectSafety to allow for scripting in hopes of getting some idea of what's going on. However, when I try to invoke a user-defined automation method in this control from VBScript, I get a "Catastrophic Error" (8000FFFF). This can't be good. Can anyone suggest what I should look at/implement to expose methods to VBScript? Thanks for any suggestions.
-
Hello COM gurus :-D I'm trying to create a UI-less MFC ActiveX control that can be accessed from VBScript in an HTML page. I'm not using ATL because I want to minimize the possibility that the user's machine needs a restart. I've looked at MSDN's safectl tutorial which implements IObjectSafety to allow for scripting in hopes of getting some idea of what's going on. However, when I try to invoke a user-defined automation method in this control from VBScript, I get a "Catastrophic Error" (8000FFFF). This can't be good. Can anyone suggest what I should look at/implement to expose methods to VBScript? Thanks for any suggestions.
Nevermind, I found the problem...See http://support.microsoft.com/support/kb/articles/Q146/1/20.ASP