Search:

Type: Posts; User: bagel

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    6,479

    Thanks for the suggestions! I was able to get it...

    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"";

    ...
  2. Replies
    3
    Views
    6,479

    Expanding Environment Variables

    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...
Results 1 to 2 of 2