Using COM Interface in .NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnathan Doe

    #1

    Using COM Interface in .NET

    Hello group,

    I've read as much as I can in the .NET docs without my brain turning
    to mush. I've tried looking at Interop and System::Runtime ::Interop
    (are they the same thing?) and I've been able to import the library
    (HNetCfg.dll) into my assembly, but I have no idea how to use the
    interfaces.

    I'm trying to get access to the XP Internet Connection Firewall API,
    which has interfaces like IEnumNetSharing EveryConnection . The problem
    is that I've never used COM before so I have no idea what to do
    anyway. I only have a conceptual understanding of what COM is.

    What do I need to do so I can use this API? (In any language,
    preferably VC++.NET but C#.NET, J#.NET or VB.NET will be OK for examples.)

    Thanks!
    Johnathan from Australia
  • Johnathan Doe

    #2
    Re: Using COM Interface in .NET

    Sorry, wrong group. Over at microsoft.publi c.dotnet.framew ork.interop.

    Comment

    • Johnathan Doe

      #3
      Re: Using COM Interface in .NET

      Sorry, wrong group. Over at microsoft.publi c.dotnet.framew ork.interop.

      Comment

      Working...