Thanks for the suggestions! I was able to get it working like so...
TCHAR szBuf[1024];
TCHAR szMyApp[1024];
wchar_t systemrootpath[64]= L"";
wchar_t dname[64]=L"";
...
Type: Posts; User: bagel
Thanks for the suggestions! I was able to get it working like so...
TCHAR szBuf[1024];
TCHAR szMyApp[1024];
wchar_t systemrootpath[64]= L"";
wchar_t dname[64]=L"";
...
I am trying to get the path of the system root directory by using %SystemRoot% in C code. What I originally had was:
TCHAR szBuf[1024];
wsprintf(szBuf, L"c:\\windows\\system32\\myapp.exe...