Registery xml项目 [英] Registery xml project
本文介绍了Registery xml项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从代码项目导入/导出注册表部分下载程序XML [ ^ ]
但在调试项目时我有投射错误
将Intptr转换为Int32
return((IntPtr)fieldInfo.GetValue(registryKey))。ToInt32();
无效的CastExeption未处理
指定演员表无效。
解决方案
你没看过文章''评论和讨论''部分,是吗?
有你的问题 [ ^ ]和(希望)解决方案 [ ^ ]。
I download program from code project Import/Export registry sections as XML[^]
But when debug the project i have cast error
In convert Intptr to Int32
return ((IntPtr)fieldInfo.GetValue(registryKey)).ToInt32();
Invalid CastExeption was Unhandled
Specified cast is not valid.
解决方案
You didn''t read the article ''Comments and Discussions'' section, did you?
There is your problem[^] and (hopefully) the solution[^].
这篇关于Registery xml项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文