Code:char* winPath[MAX_PATH]; GetWindowsDirectory(winPath, MAX_PATH); printf("%s\n", winPath);from http://msdn.microsoft.com/library/de...sdirectory.asp :[Warning] passing arg 1 of `GetWindowsDirectoryA' from incompatible pointer type
How should I declare it? thanx!LPTSTR lpBuffer, Pointer to the buffer to receive the null-terminated string..