简体   繁体   English

在 XP 模式下用 VB6 构建的可执行文件无法访问 Windows 7 中的注册表

[英]Executable built with VB6 in XP mode fails to access registry in Windows 7

I have successfully built an executable with Visual Basic 6 SP6 in Windows 7 XP mode.我已经在 Windows 7 XP 模式下使用 Visual Basic 6 SP6 成功构建了一个可执行文件。 This executable fails to access registry when run in Windows 7. A build of the very same sources made in Windows 7 works fine under Windows 7. Any ideas what can be the issue?此可执行文件在 Windows 7 中运行时无法访问注册表。在 Windows 7 中构建的完全相同的源代码在 Windows 7 下运行良好。任何想法可能是什么问题?

The error number would know.错误号就知道了。 Why bother posting without the error number.为什么要在没有错误号的情况下发布。 Not real smart.不是很聪明。 Or maybe you are too stupid to read them.或者,也许你太笨了,无法阅读它们。

Your post is a waste of time because you KNOW what the problem is (you are either turning off errors or refusing to look at the dialog with the error number printed in front of you).您的帖子是在浪费时间,因为您知道问题出在哪里(您要么关闭错误,要么拒绝查看打印在您面前的错误编号的对话框)。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM