Hello everyone,
I am developing a DLL project for Windows Mobile (C/C++). I have removed the UNICODE and _UNICODE definition from project --> settings. But build the following code, there is an error (compile could pass, but link can not pass),
error LNK2019: unresolved external symbol CreateDirectoryA referenced in function foo
thanks in advance,
George
I am developing a DLL project for Windows Mobile (C/C++). I have removed the UNICODE and _UNICODE definition from project --> settings. But build the following code, there is an error (compile could pass, but link can not pass),
error LNK2019: unresolved external symbol CreateDirectoryA referenced in function foo
Code:
#include <winbase.h>
int foo()
{
CreateDirectory (L"hello", NULL);
CreateDirectoryA ("hello", NULL);
CreateDirectoryW (L"hello", NULL);
return 0;
}
thanks in advance,
George