简体   繁体   English

如何在VB6中调试ActiveX dll?

[英]How to debug ActiveX dll in VB6?

I have two project in VB6 one is ActiveX DLL one is ActiveX EXE, as i am not able to step into ActiveX DLL project which added as reference in ActiveX EXE, can any one let me know why?我在 VB6 中有两个项目,一个是 ActiveX DLL,一个是 ActiveX EXE,因为我无法进入在 ActiveX EXE 中作为参考添加的 ActiveX DLL 项目,任何人都可以告诉我为什么吗?

I have tried creating Project Group but still facing problem since it tries to run DLL Project even though i set EXE Project as Start UP.我已经尝试创建项目组,但仍然面临问题,因为即使我将 EXE 项目设置为启动,它也会尝试运行 DLL 项目。

Second i want to migrate ActiveX DLL in c# and then by adding COM c# dll reference in VB6 ActiveX EXE Project, i want to test and debug,其次,我想在 c# 中迁移 ActiveX DLL,然后通过在 VB6 ActiveX EXE 项目中添加 COM c# dll 引用,我想测试和调试,

Please help with this.请帮忙解决这个问题。 Thanks in advance if you can provide steps it would be great.在此先感谢您,如果您能提供步骤,那就太好了。

For the second question, a very very long time ago, I did it.第二个问题,在很久很久以前,我做过。 generate a ".tlb" using Tlbexp.exe.使用 Tlbexp.exe 生成“.tlb”。

" Tlbexp.exe generates a type library with definitions of the types defined in the assembly. Applications, such as Visual Basic 6.0, can use the generated type library to link to the .NET types defined in the assembly. " Tlbexp.exe 生成一个类型库,其中包含程序集中定义的类型的定义。应用程序(例如 Visual Basic 6.0)可以使用生成的类型库链接到程序集中定义的 .NET 类型。

Tlbexp.exe Tlbexp.exe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何处理与 VB6 ActiveX dll 的对话,该 ActiveX dll 具有来自 .NET Z3055DD731D7924089A62F3 的 OCX 依赖项 - How to handle talking to VB6 ActiveX dll that has OCX dependencies from a .NET WPF application 将VB6 ActiveX DLL引用添加到VS2008项目 - Add a VB6 ActiveX DLL reference to a VS2008 project 在 Visual Studio 中使用 .pdb 文件调试 VB 6.0 ActiveX DLL - Debug VB 6.0 ActiveX DLL with .pdb file in Visual Studio 如何调试vs vc6 / vba app调用的2008 c#express dll? - How to debug vs 2008 c# express dll which is called by a vb6/vba app? 如何从.NET中使用VB6 DLL? - How to consume VB6 DLL from .NET? 在VB6应用程序中,ac#dll的CreateObject仅在IDE中“ActiveX组件无法创建对象”失败 - In VB6 application, CreateObject for a c# dll fails with “ActiveX component can't create object” in IDE only 为什么我从C#应用程序调用VB6 ActiveX DLL失败并显示“不支持此类接口”? - Why does my call to a VB6 ActiveX DLL from C# app fail with “No such interface supported”? COM Interop VB6 ActiveX EXE - COM Interop VB6 ActiveX EXE 如何在VB6中注册不用作COM互操作的.NET DLL? - how to register a .net dll not being used as a com interop in vb6? 如何在 .NET 中使用来自 VB6 dll 的方法? - How to use method from VB6 dll in .NET?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM