So I have this error: Error 1 error LNK2019: unresolved external symbol _imp_StrRetToBufW@16 referenced in function _wmain
I include:
#include "stdafx.h"
#include <shlobj.h>
#include <shlwapi.h>
#include <iostream>
and I call the function like this:
StrRetToBuf(&strDispName, pidlItems, pszDisplayName, MAX_PATH);
So there is a linker error. Any fixes?