title: How to use a variable inside a _T wrapper?
body: <p>I want to make the hostname part of this string to be variable..
  Currently, it is only fix to this URL:</p>
  
  <pre><code>_T(" --url=http://www.myurl.com/ --out=c:\\current.png");
  </code></pre>
  
  <p>I want to make something like this, so the URL is changeable..</p>
  
  <pre><code>_T(" --url=http://www." + myurl +  "/ --out=c:\\current.png");
  </code></pre>
  
  <p>update. Below is my latest attempt:</p>
  
  <pre><code>      CString one   = _T(" --url=http://www.");
        CString two(url-&gt;bstrVal);
        CString three = _T("/ --out=c:\\current.png");
        CString full = one + two + three;
  
        ShellExecute(0,                           
                 _T("open"),        // Operation to perform
                 _T("c:\\IECapt"),  // Application name
                 _T(full),// Additional parameters
                 0,                           // Default directory
                 SW_HIDE);
  </code></pre>
  
  <p>The error is : Error    1   error C2065: 'Lfull' : undeclared identifier    c:\test.cpp </p>