标签:mod ext appcompat 函数 hbm filename 文件 eof targe
Windows上有一个很奇怪的一个现象,一个exe只要名字里面带了setup\install之类的,打开exe后立即退出就会弹出下面的窗口。
解决方法:
方法一、更改exe的名字,去掉setup\install,即使是资源文件rc中的setup\install也要去掉。
方法二、在main函数入口处调用下面的函数,将当前exe写入Windows的“注册表白名单”中去,关闭时Windows就不会弹出兼容助手了。
参考链接:http://blog.csdn.net/mfcing/article/details/52087704
http://blog.csdn.net/caoshangpa/article/details/72235939
Windows7,程序兼容助手:这个程序可能安装不正确(做注册表里设置白名单,软件自身的名字不能带setup)
标签:mod ext appcompat 函数 hbm filename 文件 eof targe
原文地址:http://www.cnblogs.com/findumars/p/7220067.html