|
|
PathCchRemoveFileSpec
function.PathRemoveFileSpec
(deprecated but if you don't use Windows 8...)
|
|
1>------ Build started: Project: A++ runtime Evernoment, Configuration: Debug Win32 ------ 1> A++ runtime Evernoment.cpp 1>c:\users\arsen\documents\visual studio 2010\c++ projects\a++ runtime evernoment\a++ runtime evernoment\a++ runtime evernoment.cpp(4): warning C4067: unexpected tokens following preprocessor directive - expected a newline 1>c:\users\arsen\documents\visual studio 2010\c++ projects\a++ runtime evernoment\a++ runtime evernoment\a++ runtime evernoment.cpp(5): warning C4067: unexpected tokens following preprocessor directive - expected a newline 1>c:\users\arsen\documents\visual studio 2010\c++ projects\a++ runtime evernoment\a++ runtime evernoment\a++ runtime evernoment.cpp(6): warning C4067: unexpected tokens following preprocessor directive - expected a newline 1>A++ runtime Evernoment.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification 1>A++ runtime Evernoment.obj : error LNK2019: unresolved external symbol __imp__PathRemoveFileSpecW@4 referenced in function _wmain 1>C:\Users\Arsen\Documents\Visual Studio 2010\C++ Projects\A++ runtime Evernoment\Debug\A++ runtime Evernoment.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
#pragma comment(lib, "Shlwapi.lib")
should do the trick.