{I+=codeWee;} |
#include "Shlwapi.h" #pragma comment(lib , "Shlwapi.lib") void GetRelativePath(const char* szFromDirectory, const char* szToFile, char* szOut) { PathRelativePathTo(szOut, szFromDirectory, FILE_ATTRIBUTE_DIRECTORY, szToFile, FILE_ATTRIBUTE_NORMAL); }