Announcement

Collapse
No announcement yet.

Using the COM server with .NET

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Edwin Knoppert
    replied
    No answer no..
    While using these dll's would by 'hyper-friendly' instead of using pinvoke misery.
    Worth a search..
    Last edited by Edwin Knoppert; 27 Aug 2008, 04:25 PM.

    Leave a comment:


  • Thomas Tierney
    replied
    Edwin,

    Did you ever get an answer to this? I have gotten everything working so far with one exception. I can not reference the DLL with C# or VB.NET. I am on XP this time

    Leave a comment:


  • Edwin Knoppert
    replied
    Could someone give me a hint?

    Here is the dll having the Class1 com object.

    http://www.hellobasic.com/trials/Comtest1.zip

    Leave a comment:


  • Edwin Knoppert
    started a topic Using the COM server with .NET

    Using the COM server with .NET

    I just creates a simple com server and i am trying to use it with .NET

    The class is present as you can see:

    http://www.hellobasic.com/images/PB9COMServer1.png

    2 details..

    1) Names may need to be aliased, these are now in uppercase.
    (Use Alias i assume)

    2) VS complains not having a constructor:
    Error 1 The type 'PwrDev_COM_server.CLASS1Class' has no constructors defined
    In fact i have a constructor (and empty destructor)

    I am rather confused what to use.
    Class1 is: public interface CLASS1
    CLASS1Class is: public class CLASS1Class
    INTERFACE1 is: public interface INTERFACE1
Working...
X