Also, I find no information on the _tcsprintf method referenced previously. -su
Type: Posts; User: sulu
Also, I find no information on the _tcsprintf method referenced previously. -su
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...
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>
<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...