Windows 7,从32位VB6写入注册表 [英] Windows 7, writing to registry from 32 bit VB6

查看:269
本文介绍了Windows 7,从32位VB6写入注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 7 64位 使用"重定向"当应用程序是32位时,文件写入和注册表写入。

Windows 7 64 bit uses "redirection" of file writing and registry writing when an application is 32 bit.

OTHERWISE所有"只是工作"在Windows 7中。

OTHERWISE everything "just works" in Windows 7.

大问题:需要一个"固定"的(未重定向)在注册表中写入密码的位置,以便其他桌面上的人可以从注册表中读取该密码,并允许应用程序继续正常运行。

BIG PROBLEM: need to have a "fixed" (not redirected) place to write to in registry for a password so that persons on other desktops can read that password from the registry and allow the application to continute functioning normally.

我已阅读全部的MSDN和雅虎的文章,我找不到办法做到这一点。微软确实说可以从32位应用程序写入64位注册表位置,但我无法弄清楚.....有人可以帮忙吗?

I have read all of the MSDN and Yahoo articles and I cannot find a way to do this. Microsoft does say it is possible to write to a 64 bit registry location from a 32 bit app but I cannot figure out how ..... can anyone please help?

 

推荐答案

如果它们具有相同的数据类型,那么写入的内容应该没有区别。

If they have the same datatype there should be no difference in how something is written.

介意utf8,unicode和ansi之间的区别。应该有相同的,并提前指定。所以32位或64位应该没有区别。

mind differences between utf8,unicode and ansi. There should be the same and are specified ahead of time. So 32 bit or 64 bits should not make a difference.

这是一个.NET论坛,我们不回答不再支持的语言的问题。

This is a .NET forum and we do not answer question from languages that are no longer supported.

Renee


这篇关于Windows 7,从32位VB6写入注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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