链接到 WinNLS [英] Linking against WinNLS

查看:28
本文介绍了链接到 WinNLS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该使用什么静态库来链接以使用 NormalizeString() 函数?

What static library should I use to link against to use the NormalizeString() function?

与 MSDN 上记录的大多数函数相比,使用该函数所需的静态库并未声明.我尝试使用从 DLL 派生的名称:normaliz.lib 并成功链接,但随后在运行时出现一个弹出窗口,提示找不到 Normalization.dll在我的电脑上,该进程已关闭.

In contrast with most functions documented on MSDN, the static library required to use the function is not declared. I tried using the name derived from the DLL: normaliz.lib and it successfully linked, but then I get a pop-up at runtime saying Normalization.dll could not be found on my computer and the process is shut down.

推荐答案

Hans Passant 指出,正确的导入库是 normaliz.lib.我的设置似乎有问题.

As pointer out by Hans Passant, the correct import library is normaliz.lib. It seems there was some problem in my setup.

我使用的是 Windows SDK v6.0A.切换到 Windows SDK v7.0A 后,我的问题停止了.

I was using Windows SDK v6.0A. After switching to Windows SDK v7.0A, my problems stopped.

这篇关于链接到 WinNLS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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