call a COM DLL from C# application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Harish Kumar Dixit

    #1

    call a COM DLL from C# application


    i developed a COM DLL using VS2005. why there are two DLLs i found,
    one is in project directory having company name and project name as
    prefix like "ABC.Proj.Exp.d ll" and other in the release folder named
    "Exp.dll".

    Which DLL i should use in c# application and how.
    what project settings i have to make in c# application so end user can
    use this c# application. i have to give which DLL with installer


    Thanks in advance.

    #Harish$

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: call a COM DLL from C# application

    Harish,

    I'm assuming that one of the dlls is a native COM dll. The other dll is
    the interop dll, and you need both to run your app. You will have to have
    the original DLL registered (or not, if you are using no-reg COM) and then
    the interop dll for your .NET code to use.

    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Harish Kumar Dixit" <harishdixit1@g mail.comwrote in message
    news:1191845392 .072397.164960@ 19g2000hsx.goog legroups.com...
    >
    i developed a COM DLL using VS2005. why there are two DLLs i found,
    one is in project directory having company name and project name as
    prefix like "ABC.Proj.Exp.d ll" and other in the release folder named
    "Exp.dll".
    >
    Which DLL i should use in c# application and how.
    what project settings i have to make in c# application so end user can
    use this c# application. i have to give which DLL with installer
    >
    >
    Thanks in advance.
    >
    #Harish$
    >

    Comment

    Working...