Re: Calling Still Image API in C#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Travis Butynski (NOSPAM_at_vynsc.com)
Date: 02/10/04


Date: Tue, 10 Feb 2004 11:53:09 -0500

I gave the interface creation a shot over the weekend and came up with
something I thought would work. Unfortunately, I get a COMException when I
try and call the RegisterLaunchApplication method on the interface. I
believe the description is, the specified network resource or device is no
longer available.

I would assume that I have not correctly defined the interface or that I've
missed something in my overall implementation. Perhaps you could give me
some asisstance by looking at what I've done. I'm a little hesitant to post
the entire code block in the newsgroup because it would be kind of messy.

Travis

""Ying-Shen Yu[MSFT]"" <v-yiy@online.microsoft.com> wrote in message
news:CCLp1C$6DHA.568@cpmsftngxa07.phx.gbl...
> Hi Travis,
>
> It's not a easy work to use STI interfaces in a managed application,
> you need define the managed Interface on your own,
> The following tutorial will give you a start point:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/
> vcoricominteroptutorial.asp
>
> If you meet further problem on this issue, please feel free to reply this
> thread.
> Thanks!
>
> Best regards,
>
> Ying-Shen Yu [MSFT]
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
>
> This posting is provided "AS IS" with no warranties and confers no rights.
> This mail should not be replied directly, "online" should be removed
before
> sending.
>



Relevant Pages

  • managed/unmanaged interfaces
    ... interface as a managed interface. ... SHCreateStreamOnFile in order to get the IStream. ... the unmanaged interface and get an instance of the managed interface from it. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: xml based AzMan and ActiveDirectory
    ... > catch (COMException ex) ... >> the roles being defined in the xml file (by AzMan as interface). ...
    (microsoft.public.dotnet.security)