I got the following code from parksie, that had a messagebox show the Windows Dir.
But I don't understand what the first line does:
The first line:
The entire code:Code:TCHAR pcBuf[MAX_PATH];
Code:TCHAR pcBuf[MAX_PATH]; GetWindowsDirectory(pcBuf, MAX_PATH); MessageBox(pcBuf, "Windows folder!", MB_OK);




Reply With Quote