Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: fatal error C1853: in vc6 Pin
Naveen7-Sep-07 0:40
Naveen7-Sep-07 0:40 
GeneralRe: fatal error C1853: in vc6 Pin
jhwurmbach7-Sep-07 1:39
jhwurmbach7-Sep-07 1:39 
AnswerRe: fatal error C1853: in vc6 Pin
jhwurmbach7-Sep-07 1:42
jhwurmbach7-Sep-07 1:42 
GeneralRe: fatal error C1853: in vc6 Pin
prakashd12-Sep-07 3:04
prakashd12-Sep-07 3:04 
GeneralRe: fatal error C1853: in vc6 Pin
jhwurmbach12-Sep-07 3:26
jhwurmbach12-Sep-07 3:26 
GeneralRe: fatal error C1853: in vc6 Pin
prakashd17-Sep-07 4:56
prakashd17-Sep-07 4:56 
AnswerRe: fatal error C1853: in vc6 Pin
KaЯl7-Sep-07 2:10
KaЯl7-Sep-07 2:10 
QuestionIStream and XmlLite Pin
Jan S.6-Sep-07 23:10
Jan S.6-Sep-07 23:10 
* The xmlparser XmlLite from microsoft uses IStream to read and write xml.
It is described how to copy text into a stream, but not how to read the text back from the stream. Do you know how to do this?

Code to write text to IStream.
IStream * pStream = NULL;
HGLOBAL hXmlContent;
HRESULT hr;
int iResult = 0;

// allocate global memory to copy the HTML content to
hXmlContent = ::GlobalAlloc( GPTR, ( ::_tcslen( kpszXML_in ) + 1 ) * sizeof(TCHAR) );
if (!hXmlContent)
return false;

::_tcscpy( (TCHAR *) hXmlContent, kpszXML_in );

// create a stream object based on the HTML content
hr = ::CreateStreamOnHGlobal( hXmlContent, TRUE, &pStream );

AnswerRe: IStream and XmlLite Pin
George L. Jackson7-Sep-07 3:10
George L. Jackson7-Sep-07 3:10 
GeneralRe: IStream and XmlLite Pin
Jan S.7-Sep-07 3:51
Jan S.7-Sep-07 3:51 
QuestionOLE Viewer Pin
George_George6-Sep-07 22:40
George_George6-Sep-07 22:40 
QuestionWhere do I write questions in C? Pin
gizmokaka6-Sep-07 22:29
gizmokaka6-Sep-07 22:29 
GeneralRe: Where do I write questions in C? Pin
Maxwell Chen6-Sep-07 22:31
Maxwell Chen6-Sep-07 22:31 
AnswerRe: Where do I write questions in C? Pin
Nishad S6-Sep-07 22:33
Nishad S6-Sep-07 22:33 
AnswerRe: Where do I write questions in C? Pin
Hamid_RT6-Sep-07 23:43
Hamid_RT6-Sep-07 23:43 
GeneralRe: Where do I write questions in C? Pin
gizmokaka6-Sep-07 23:49
gizmokaka6-Sep-07 23:49 
GeneralRe: Where do I write questions in C? Pin
Cedric Moonen6-Sep-07 23:53
Cedric Moonen6-Sep-07 23:53 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 0:05
gizmokaka7-Sep-07 0:05 
GeneralRe: Where do I write questions in C? Pin
Cedric Moonen7-Sep-07 0:56
Cedric Moonen7-Sep-07 0:56 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 0:58
gizmokaka7-Sep-07 0:58 
GeneralRe: Where do I write questions in C? Pin
Russell'7-Sep-07 0:56
Russell'7-Sep-07 0:56 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 1:09
gizmokaka7-Sep-07 1:09 
GeneralRe: Where do I write questions in C? Pin
jhwurmbach7-Sep-07 1:50
jhwurmbach7-Sep-07 1:50 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 2:26
gizmokaka7-Sep-07 2:26 
GeneralRe: Where do I write questions in C? [modified] Pin
jhwurmbach7-Sep-07 2:36
jhwurmbach7-Sep-07 2:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.