since we're already using winchar...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5898 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
de19959620
commit
357a9f58c0
1 changed files with 1 additions and 2 deletions
|
@ -32,8 +32,7 @@ int GetTLBVersion(string& filepath, DWORD& high, DWORD & low)
|
|||
if (!GetFullPathName(filepath.c_str(), sizeof(fullpath), fullpath, &p))
|
||||
return 0;
|
||||
|
||||
wchar_t ole_filename[1024];
|
||||
MultiByteToWideChar(CP_ACP, 0, fullpath, lstrlen(fullpath) + 1, ole_filename, 1024);
|
||||
WCHAR *ole_filename = winchar_fromansi(fullpath);
|
||||
|
||||
ITypeLib* typeLib;
|
||||
HRESULT hr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue