Vb.net 在64位机器上运行VB代码

Vb.net 在64位机器上运行VB代码,vb.net,winforms,dll,Vb.net,Winforms,Dll,我正在尝试用Microsoft Visual Basic调试应用程序。此应用程序使用第三方工具,如UltraToolBar、Active Thread、XtremeSuite等。其中一些工具可能用于32位。当我尝试从代码运行应用程序时,它会在加载WinForm之前崩溃。我在事件查看器中检查了异常,我收到以下消息 <Data>Application: vb6.exe Framework Version: v4.0.30319 Description: The process was

我正在尝试用Microsoft Visual Basic调试应用程序。此应用程序使用第三方工具,如UltraToolBar、Active Thread、XtremeSuite等。其中一些工具可能用于32位。当我尝试从代码运行应用程序时,它会在加载WinForm之前崩溃。我在事件查看器中检查了异常,我收到以下消息

 <Data>Application: vb6.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException at <Module>.CVPCServiceMgr.{ctor}(CVPCServiceMgr*) at <Module>.?A0x1119eba0.??__Eg_oServiceMgr@@YMXXZ() at <Module>._initterm_m(Void* ()*, Void* ()*) at <Module>.<CrtImplementationDetails>.LanguageSupport.InitializePerProcess(<CrtImplementationDetails>.LanguageSupport*) at <Module>.<CrtImplementationDetails>.LanguageSupport._Initialize(<CrtImplementationDetails>.LanguageSupport*) at <Module>.<CrtImplementationDetails>.LanguageSupport.Initialize(<CrtImplementationDetails>.LanguageSupport*) Exception Info: <CrtImplementationDetails>.ModuleLoadException at <Module>.<CrtImplementationDetails>.LanguageSupport.Initialize(<CrtImplementationDetails>.LanguageSupport*) at <Module>..cctor() Exception Info: System.TypeInitializationException</Data> 
Application:vb6.exe Framework版本:v4.0.30319说明:由于未处理的异常,进程已终止。异常信息:System.IO.FileNotFoundException at.CVPCServiceMgr.{ctor}(CVPCServiceMgr*)at.?A0x1119eba0.??\uu Eg_oServiceMgr@YMXXZ()at.\u initterm(Void*()*,Void*()*)at..LanguageSupport.InitializePerProcess(.LanguageSupport*)at..LanguageSupport.\u Initialize(.LanguageSupport*)at..LanguageSupport.Initialize(.LanguageSupport*))异常信息:.ModuleLoadException at..LanguageSupport.Initialize(.LanguageSupport*)at..cctor()异常信息:System.TypeInitializationException

此问题是否与在64位计算机上运行32个应用程序有关?

=>FileNotFoundException。尝试使用SysInternalsProcessMonitor此第三方是否需要注册?如果它是COM,则需要在其上运行regsvr32。在C++/CLI程序集中有一个名为
g_oServiceMgr
的全局变量。它是在加载该程序集时初始化的,它需要其他DLL才能正常工作。这种情况发生得很早,太早了,无法帮助查找该DLL。由于代码在VB6.exe中运行,因此几乎没有希望找到该DLL。临时解决方法是将所有DLL复制到C:\Program Files(x86)\Microsoft Visual Studio\VB6目录中。相当笨重,但足以调试代码。清除初始化的全局变量应该是一个目标。我需要从哪个路径复制DLL。C:\Windows\SysWow64\我将选择此路径,否则我还必须包括第三方工具的DLL。==>FileNotFoundException。尝试使用SysInternalsProcessMonitor此第三方是否需要注册?如果它是COM,则需要在其上运行regsvr32。在C++/CLI程序集中有一个名为
g_oServiceMgr
的全局变量。它是在加载该程序集时初始化的,它需要其他DLL才能正常工作。这种情况发生得很早,太早了,无法帮助查找该DLL。由于代码在VB6.exe中运行,因此几乎没有希望找到该DLL。临时解决方法是将所有DLL复制到C:\Program Files(x86)\Microsoft Visual Studio\VB6目录中。相当笨重,但足以调试代码。清除初始化的全局变量应该是一个目标。我需要从哪个路径复制DLL。C:\Windows\SysWow64\我将选择此路径,否则我还必须包括第三方工具的DLL。