[英]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 类型。 ”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.