getProcessName(void)
{
String path;
- size_t size = MAX_PATH;
+ DWORD size = MAX_PATH;
char *buf = path.buf(size);
DWORD nWritten = GetModuleFileNameA(NULL, buf, size);
getCurrentDir(void)
{
String path;
- size_t size = MAX_PATH;
+ DWORD size = MAX_PATH;
char *buf = path.buf(size);
DWORD ret = GetCurrentDirectoryA(size, buf);