Calling vb6 dlls from c#

前端 未结 3 1401
挽巷
挽巷 2021-01-18 04:41

I have been trying to call a vb6 dll from a C sharp application, without using the registry. I want to use the path of the dll while using it. I am unable to create an objec

3条回答
  •  鱼传尺愫
    2021-01-18 05:22

    A VB6 DLL is a COM DLL. Usually you would register the DLL (in the registry) and then add a reference to the VB6 DLL from your .NET project.

    This MSDN article gives a walkthrough of using registry-free COM from a .Net app.

提交回复
热议问题