惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
Spread Privacy
Spread Privacy
I
InfoQ
V
V2EX
S
Schneier on Security
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Latest news
Latest news
S
Secure Thoughts
Project Zero
Project Zero
MongoDB | Blog
MongoDB | Blog
I
Intezer
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
N
Netflix TechBlog - Medium
V2EX - 技术
V2EX - 技术
量子位
T
Threatpost
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tor Project blog
A
Arctic Wolf
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
L
LINUX DO - 热门话题

博客园 - h2appy

可以使用任何字体的gvim for windows vim编辑二进制文件 数据库连接字符串大全(Database Connection Strings) 在中文下安装PrimeOCR 4.5会出现“Failed open exe”错误 让WordPress注册时不发邮件,直接显示密码 组件的初始化和终止,为什么实现 Dispose 类、组件和控件 ScintillaNet 2.0的中文问题 转帖:使用 Microsoft Visual Studio 2005 时可能遇到的问题 Vmware 6.5.1正式版在Ubuntu 8.10下面运行非常缓慢的解决方法 - h2appy 给控件加上图标,让界面看起来更丰富 开源的.net图表库(A flexible charting library for .NET) 免费的中文OCR软件 改变RichTextBox光标(caret)的形状 一款小软件gbridge 7zip美化 转帖:字符编码笔记:ASCII,Unicode和UTF-8 转帖:Endian的由来 字符编码(Character encoding)
转帖:一英文软件安装时出现”Failed to open EXE”问题解决
h2appy · 2008-12-17 · via 博客园 - h2appy

我也遇到了这个问题,所以转过来。

后来我把这个软件安装在英文系统下就没事了。

from:http://www.sunnyu.com/?cat=24

网上下载了一英文软件,点击安装程序出现错误提示”Failed to Open EXE“,不过看老外的论坛,没有人碰到不能运行的问题。经过多次尝试,软件都是不能运行。郁闷

想起以前曾经碰到过的一个国外软件不能运行的解决方法,就是在控制面板地区/语言设置中将其全部设置为英文相关的语言和地区(英语,美国),然后重新启动操作系统,程序运行正常。

照搬之前办法,设置语言和地区为(英语,美国)重新启动,再次执行安装程序,安装成功。

找出了之前不正常的程序,分析之,发现两个软件都是用 M$ 的VB系列语言做的(分别是VB和VB.net),初步猜想是由于VB语言造成的,在不同系统下某些函数的执行的行为不一样。
进一步查找资料,发现VB中关于 Asc, Ascb, AscW等函数在不同系统环境中的行为不一样(非unicode编码)。

由此得到经验: 以后写程序时要注意尽量不要使用VB来做,如果要用VB则需要注意避免使用Asc这类行为会受操作系统平台影响的函数。