Search:

Type: Posts; User: sulu

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    3,712

    Also, I find no information on the _tcsprintf...

    Also, I find no information on the _tcsprintf method referenced previously. -su
  2. Replies
    12
    Views
    3,712

    a more efficient use of BSTR?

    Thanks, all.

    I see no way, based on my reading, to get the parameter represented by the %d into the CComBSTR through a constructor call. In other words, it seems I must call some kind of wchar...
  3. Replies
    12
    Views
    3,712

    Ah, a typo. Here's the actual code snip: ...

    Ah, a typo. Here's the actual code snip:
    <code>
    TCHAR szBuf[14];
    szBuf[0]=0;
    wsprintf(szBuf, _T("some string, %d", i+1);
    ComBSTR bstrName = (BSTR)szBuf;
    </code>
  4. Replies
    12
    Views
    3,712

    a more efficient use of BSTR?

    <code>

    TCHAR szBuf[14];
    szBuf[0]=0;
    wsprintf(szBuf, _T("some string, %d", i=1);
    ComBSTR bstrName = (BSTR)szBuf;

    </code>

    It seems wrong to allocate space for a...
Results 1 to 4 of 4