VB.NET DLLs and GetInterfaceObject

Discussion in 'AutoCAD' started by eli, Jun 13, 2004.

  1. eli

    eli Guest

    I have created a DLL project and a Windows Application project, both
    using VB.NET.
    In my windows project (client), i am referencing AutoCAD2004 through a
    variable "application" and so I try to use
    application.GetInterfaceObject(myDllsProjectProgID) to inject my DLL
    (server) in AutoCad's process space. This is a common scenario in VB6
    that works. But it doesnt work in .NET. Why?

    Is it because DLLs in .NET are not registered? Don't they have ProgIDs
    such projects? Is GetInterfaceObject not valid any more? What should I
    do?

    Thanks,
    Elias
     
    eli, Jun 13, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.