variablehow to convert from int to BSTR
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi Please tell me how to convert from int to BSTR in VC++.I want to create a xml node with an int value.I need to pass BSTR variable to the method createTextNode(). How can I do it? Thanks. Pathi bhikshapathi_g@semanticspace.com
-
Hi Please tell me how to convert from int to BSTR in VC++.I want to create a xml node with an int value.I need to pass BSTR variable to the method createTextNode(). How can I do it? Thanks. Pathi bhikshapathi_g@semanticspace.com
TCHAR szStringRepresentation[32]; wsprintf ( szStringRepresentation, _T("%d"), nYourIntegerValueHere ); pInterface->CreateTextNode ( _bstr_t(szStringRepresentation) ); --Mike-- http://home.inreach.com/mdunn/ #include "buffy_sig"