Ask a Question related to ASP.NET Web Services, Design and Development.
-
dmdaniels #1
Calling a MFC ActiveX Control from a ASP.net web service.
I am looking for some information about a problem I have run into. I have a
third party MFC ActiveX Control and I would like to wrap it with a ASP.net
web service. I add it to my project using "Add Reference" which creates the
interop dll. I can instantiate the ActiveX Control but when I call a method
in the control I get the following exception:
System.Runtime.InteropServices.COMException at
System.RuntimeType.ForwardCallToInvokeMember(...)
Catastrophic failure
Any ideas why this doesn't work?
TIA,
dmdaniels
dmdaniels Guest
-
Q: ActivePerl - calling an ActiveX object
I have a 3rd-party ActiveX object (as a DLL) that I am trying to call from Perl (ActivePerl 5.8) The function that I am calling takes three 'in'... -
User Control and ActiveX control
Now I am hosting a user control(an assembly in .dll) in IE. I want to know the difference between this kind of control and ActiveX control. thank... -
Calling Acrobat file from WScript.Shell ActiveX object
WinXP, Acrobat 6 When I type the name of a PDF file at the Windows command prompt, the file opens properly. Then I create the following JavaScript... -
problems calling ActiveX control inside VB OCX from ASP
I seem to have run into two documented bugs whose workarounds are incompatible. What I have is an OCX written in VB 6 that has a few classes in it.... -
UnauthorizedAccessException loading ActiveX control from Web Service
I have a question on invoking processes from within a Web service. I have an ActiveX control that actually runs as a process (Bartender.exe). ... -
Dino Chiesa [Microsoft] #2
Re: Calling a MFC ActiveX Control from a ASP.net web service.
I've seen this happen repeatedly with the PDF Control, when the control is
used improperly.
Consult the doc, and compare your ASP.NET code to working code that uses,
for example, VB6 to do the same thing. Are you sure you are using a
parallel usage model ?
ps: wrong group.
try posting to microsoft.public.dotnet.interop
-Dino
"dmdaniels" <dmdaniels@discussions.microsoft.com> wrote in message
news:205BCD83-59F3-4BA8-AB0E-49A31EA67322@microsoft.com...>I am looking for some information about a problem I have run into. I have a
> third party MFC ActiveX Control and I would like to wrap it with a ASP.net
> web service. I add it to my project using "Add Reference" which creates
> the
> interop dll. I can instantiate the ActiveX Control but when I call a
> method
> in the control I get the following exception:
>
> System.Runtime.InteropServices.COMException at
> System.RuntimeType.ForwardCallToInvokeMember(...)
> Catastrophic failure
>
> Any ideas why this doesn't work?
>
> TIA,
> dmdaniels
Dino Chiesa [Microsoft] Guest



Reply With Quote

