Dear all,
I have a simple MFC dhtml dialog program which using DHtmldialog implication.
Following is the html source which just use res:\\ protocol to include javascript to show alert message.
===================Dialog.html=======================================
<html>
<head>
<script src="res://Res.dll/JS/#101" type="text/javascript"></script>
</head>
<body>DHtmldialog Hello World!!</body>
</html>
=================================================================
Following is the javascript source code in resource dll.
===================Dialog.js========================================
=================================================================
It can work fine on XP/Vista but canot work well on Windows 7(32bit v7077) when resource dll path with Chinese/Japan character.
Ths issue is popup IE javascript error message which like this.
===================IE Javascript error message============================
Line: 1
Char:1
Error: Invalid Character
Code: 0
URL: res://Res.dll/JS/#101
=================================================================
It means there will be no problem when resource dll path is "D:\resource\", but it cannot work on "D:\資源\" in Windows7
I have searched internet and find the solution(setting Local Zone) of similiar problem like in IE7 on WinXP, but it cannnot fix this issue.
The MFC version is MFC v9.
Does anyone can provide tip or idea?
Thanks for you help in advance.