First, I prepared my code like this:
#include <stdio.h>
#define UNICODE
int main() {
return 0;
}
then I built it and checked the "EXE" file with the tool named "PE explorer",
in the import table, I found some API functions like "GetStartupInfoA", "GetCommandLineA","GetModuleFileNameA" and "FreeEnvironmentStringsA".
In my opinion, these functions should have a name end with "W".
If I prepare my code like this:
#include <stdio.h>
#define UNICODE
int main() {
lstrlen(L"Hello!");
return 0;
}
A function named "lstrlenW" will appear in the import table,
but the functions "GetStartupInfoA", "GetCommandLineA", "GetModuleFileNameA" and "FreeEnvironmentStringsA" are still exist.