(Visual Studio 2010 / Visual C++ / Windows 7)
例子.cpp:
#include <Shlobj.h>
#pragma comment (lib, "Shell32.lib")
...
void example()
{
SHGetKnownFolderPath(...) // undefined
}
我正在根据文档以及我在其他线程中看到的内容做所有事情,但它仍然不起作用。
(Visual Studio 2010 / Visual C++ / Windows 7)
例子.cpp:
#include <Shlobj.h>
#pragma comment (lib, "Shell32.lib")
...
void example()
{
SHGetKnownFolderPath(...) // undefined
}
我正在根据文档以及我在其他线程中看到的内容做所有事情,但它仍然不起作用。