[закрыто]VS2005: Где в свойствах проекта выставляется?

0000

Для решения проблемы линковки надо сделать вот это
http://www.shlzero.com/modules.php?name=Forums&file=view...
(с оффициального форума)
Вопрос:
Hi I will appreciate it could be something I am doing that is rather silly BUT I get the following link error when using Unicode and the latest Hekkus.

error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall hssMusic::load(wchar_t const *)" (__imp_?@Z) gamesystem.lib

I have scanned through the lib within the Unicode directory and __imp_?@Z definately does not exist.
I have just changed over from Use Multi-Byte Character Set to Use Unicode Character Set.
Any help would be appreciated.
Ответ автора этой штуки

One solution is to set on your project options the wchar_t as built-in to NO (/Zc:wchar_t-) so VS2005 will act like the older versions and Hekkus will be happy again.
(Как это сделать?)
The other solution that Antony mentioned is to recompile Hekkus so it will use the new built-in wchar_t feature, that's only if you have the source, of course

0000

Properties -> C/C++ -> Command Line -> Additional Option добавить /Zc:wchar_t-

vijrel7878

тихо сам с собой веду беседу
привет

0000


Решил проблему, почему бы не написать как - мож кому пригодиться

Reves2

Properties -> C/C++ -> Command Line -> Additional Option добавить /Zc:wchar_t-
так проще
Properties -> C/C++ ->Language->Treat wchar_t as Built-in type

0000

О, спасибо - это наверно и имел в виду автор.
Оставить комментарий
Имя или ник:
Комментарий: