can't run unicode/normalize example
-
I'm trying to run some sample code from the Microsoft site that demonstrates Unicode normalization: http://msdn.microsoft.com/en-us/library/dd319092(v=VS.85).aspx[^] It compiles, but I get two link errors:
Linking...
UnicodeTest.obj : error LNK2019: unresolved external symbol __imp__NormalizeString@20 referenced in function "void __cdecl TryNormalization(enum _NORM_FORM,wchar_t *)" (?TryNormalization@@YAXW4_NORM_FORM@@PA_W@Z)
UnicodeTest.obj : error LNK2019: unresolved external symbol __imp__IsNormalizedString@12 referenced in function "void __cdecl TryNormalization(enum _NORM_FORM,wchar_t *)" (?TryNormalization@@YAXW4_NORM_FORM@@PA_W@Z)
Debug\UnicodeTest.exe : fatal error LNK1120: 2 unresolved externalsThe DLL with these functions is on my system here: C:\Windows\System32\normaliz.dll So why am I getting the link errors? If I try to define the stuff it says is not defined, I then get an error that it's already defined. :confused:
-
I'm trying to run some sample code from the Microsoft site that demonstrates Unicode normalization: http://msdn.microsoft.com/en-us/library/dd319092(v=VS.85).aspx[^] It compiles, but I get two link errors:
Linking...
UnicodeTest.obj : error LNK2019: unresolved external symbol __imp__NormalizeString@20 referenced in function "void __cdecl TryNormalization(enum _NORM_FORM,wchar_t *)" (?TryNormalization@@YAXW4_NORM_FORM@@PA_W@Z)
UnicodeTest.obj : error LNK2019: unresolved external symbol __imp__IsNormalizedString@12 referenced in function "void __cdecl TryNormalization(enum _NORM_FORM,wchar_t *)" (?TryNormalization@@YAXW4_NORM_FORM@@PA_W@Z)
Debug\UnicodeTest.exe : fatal error LNK1120: 2 unresolved externalsThe DLL with these functions is on my system here: C:\Windows\System32\normaliz.dll So why am I getting the link errors? If I try to define the stuff it says is not defined, I then get an error that it's already defined. :confused:
I never used NLS, but expect NLS to have some lib, mostly Normaliz.lib. U have linking error, so try after including Normaliz.lib for linking.
Величие не Бога может быть недооценена.