Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. why interop.xxx.dll generate by .net dev

why interop.xxx.dll generate by .net dev

Scheduled Pinned Locked Moved .NET (Core and Framework)
comquestioncsharp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    williamchou
    wrote on last edited by
    #1

    when refing com dll(eg. xxx.dll),the .net dev auto generates a corresponding interop.xxx.dll,i can't understand this oddball action,why does it occur?

    C 1 Reply Last reply
    0
    • W williamchou

      when refing com dll(eg. xxx.dll),the .net dev auto generates a corresponding interop.xxx.dll,i can't understand this oddball action,why does it occur?

      C Offline
      C Offline
      Charlie Williams
      wrote on last edited by
      #2

      william_zhou wrote: i can't understand this oddball action I can't understand this oddball statement. Do you take a similar view of everything you don't understand? Did you notice that using the COM dll you referenced isn't much different from using a .NET dll? No IUnknown, QueryInterface, CoCreateIntance, etc. Well, that's the functionality the interop dll provides. It handles conversions and marshalling between COM and .NET data types and handles the dirty work needed to use COM components with the CLR, which doesn't know COM from a hole in the ground. There is a lot of information available on the subject, should you be interested. Beyond (COM) Interop: Has Anyone Seen the Bridge?[^] Calling COM Components from .NET Clients[^] Charlie if(!curlies){ return; }

      W 1 Reply Last reply
      0
      • C Charlie Williams

        william_zhou wrote: i can't understand this oddball action I can't understand this oddball statement. Do you take a similar view of everything you don't understand? Did you notice that using the COM dll you referenced isn't much different from using a .NET dll? No IUnknown, QueryInterface, CoCreateIntance, etc. Well, that's the functionality the interop dll provides. It handles conversions and marshalling between COM and .NET data types and handles the dirty work needed to use COM components with the CLR, which doesn't know COM from a hole in the ground. There is a lot of information available on the subject, should you be interested. Beyond (COM) Interop: Has Anyone Seen the Bridge?[^] Calling COM Components from .NET Clients[^] Charlie if(!curlies){ return; }

        W Offline
        W Offline
        williamchou
        wrote on last edited by
        #3

        thank Charlie, you have told me what i want to know,and the more correlative information is useful to me, thanks a lot!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups