使用自己的字体的VC ++应用程序的代码混乱 [英] VC++ application that used own font has messy code

查看:49
本文介绍了使用自己的字体的VC ++应用程序的代码混乱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个注册表项,如下所示.

There is a registry key as below.

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ LanguagePack \ OpenType

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack\OpenType

在Windows XP(日语版)上,如果要运行由Visual Studio开发的VC ++应用程序,则必须删除密钥.但是在Windows 7(日语版)上,当我删除密钥时,请使用记事本. exe无法正常工作.

At Windows XP(Japanese version),if I want to run my VC++ application that was developed by visual studio,I have to delete the key.But at Windows 7(Japanese version),when I delete the key,notepad.exe can't work.

打开记事本没问题,但是当我输入某些内容时,会出现错误对话框,提示记事本已停止,请结束或调试"

Opening notepad is no problem,but when I input something,there is error dialog with the message of "notepad is stopped,please end it or debug it"

由于我的应用程序使用特殊的字体,而没有删除密钥,因此在我运行我的应用程序时,正确的格线"无法显示.也就是说,我的代码很乱.

Because my application uses peculiar font,without deleting the key,when I run my application, a ruled line can't be displayed rightly.That is to say,I got messy code.

您能告诉我如何在没有凌乱代码的情况下使用字体吗?非常感谢.

Would you please tell me how can I use my font without messy code?Many thanks.

推荐答案

您好,

谢谢您的发帖!我建议将您的问题发布到Microsoft开发人员网络>之一中.论坛首页> Visual C ++论坛> Visual C ++ General位于此处:

Thank you for your post!  I would suggest posting your question in one of the Microsoft Developer Network > Forums Home > Visual C++ Forums > Visual C++ General located here:

http://social.msdn.microsoft.com/Forums/hi-in/vcgeneral /threads

希望这对您有所帮助.
 
祝你有美好的一天!

Hope this helps you.
 
Have a great day!

谢谢!
迪内什
第2层应用程序支持
服务器和工具在线运营团队

Thanks!
Dinesh
Tier 2 Application Support
Server and Tools Online Operations Team


这篇关于使用自己的字体的VC ++应用程序的代码混乱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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