Показаны сообщения с ярлыком Visual Studio. Показать все сообщения
Показаны сообщения с ярлыком Visual Studio. Показать все сообщения

пятница, 1 ноября 2013 г.

Adding an additional path for finding dll in Visual Studio

Imagine that your application requires any dll. If the dll path is not in the $(PATH) or system32 or the application folder then you get the error right after starting:
To point out where to search the dll go to Project Properties->Debugging->Enviroment and change this values as PATH=MySpecialDirectory/To/Search/Dll/$(PATH)

четверг, 4 апреля 2013 г.

Using alternative tokens in Visual Studio

There's an interesting thing in C++ called alternative tokens
For using tokens in Visual Studio you should:
  • - For the tokens from 1st column compile with /Za flag (Configuration properties->C/C++->Language->Disable language Extensions = Yes)
  • - For the tokens from 2nd and 3rd columns include <iso646.h>