VB6 编译后崩溃 [英] VB6 crashes after build

查看:19
本文介绍了VB6 编译后崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Basic 6 在我的程序重新构建后崩溃.每当我在更改代码后Start(F5 或 Ctrl-F5)我的程序时,VB6 都会崩溃并显示以下消息:

Visual Basic 6 is crashing after a new build of my program. Whenever I Start (F5 or Ctrl-F5) my program after making changes to the code, VB6 crashes with the following message:

VB6.EXE [XXXX] 中出现未处理的 win32 异常.

An unhandled win32 exception occured in VB6.EXE [XXXX].

我无法用 XXXX 制作任何图案.一直是 5168、5012、1488 等;每次崩溃都会改变.

I can't make any pattern out of XXXX. It's been 5168, 5012, 1488, etc; it changes every crash.

JIT 调试器然后提供让我在 VS2010 中调试 VB6(它只显示一堆反汇编.)如果我说不,VB6 将关闭.然后我可以立即打开并 Start 我的程序,它运行得很好;我在崩溃前所做的更改已保存.或者,我可以进行更改,保存它们,退出 VB6,重新启动 VB6,然后运行它们没有问题.但似乎只要我进行任何更改,就会设置一个崩溃"标志,如果我在重新启动 VB6 之前尝试构建它,它就会死掉.

The JIT debugger then offers to let me debug VB6 in VS2010 (which shows nothing but a bunch of disassembly.) If I say no, VB6 shuts down. I can then open and Start my program immediately, and it runs just fine; my changes from before the crash were saved. Alternatively, I can make changes, save them, exit VB6, restart VB6, then run them without a problem. But it seems like as soon as I make any changes, a "crash" flag is set, and if I try and build it before restarting VB6, it simply dies.

我只在特定项目中遇到这个问题.大多数项目完全正常工作.只是这个,它是分支,两者的行为方式相同.

I'm only having this problem with specific projects. Most projects work completely normally. It's just this one, and it's branch, that both act in the same manner.

有人知道发生了什么任何线索吗?显然,保存工作.和建筑工程.并运行作品.他们只是似乎没有一起工作.

Does anyone have any clue what's going on? Obviously, saving works. And building works. And running works. They just don't seem to work together.

我重装了VB6还是不行.

I reinstalled VB6 to no avail.

推荐答案

尝试以XP的兼容模式打开vb6项目.我们遇到了一些与make exe"命令相关的问题.然后我开始用XP兼容模式运行VB6.exe.

Try to open vb6 project with compability mode as XP. We had some issues related to "make exe" command. Then I started to run VB6.exe with XP compability mode.

这篇关于VB6 编译后崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆