Click here to Skip to main content
15,892,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ gotchas Pin
tom groezer10-Jun-07 11:22
tom groezer10-Jun-07 11:22 
GeneralRe: C++ gotchas Pin
Christian Graus10-Jun-07 11:59
protectorChristian Graus10-Jun-07 11:59 
GeneralRe: C++ gotchas Pin
CPallini10-Jun-07 20:57
mveCPallini10-Jun-07 20:57 
GeneralRe: C++ gotchas Pin
Roger Stoltz10-Jun-07 21:57
Roger Stoltz10-Jun-07 21:57 
GeneralRe: C++ gotchas Pin
CPallini10-Jun-07 22:11
mveCPallini10-Jun-07 22:11 
GeneralRe: C++ gotchas Pin
Roger Stoltz10-Jun-07 23:51
Roger Stoltz10-Jun-07 23:51 
GeneralRe: C++ gotchas Pin
CPallini11-Jun-07 0:22
mveCPallini11-Jun-07 0:22 
Questionbasic question Pin
smzhaq10-Jun-07 9:42
smzhaq10-Jun-07 9:42 
I am a new learner of VC++ and usually get good support from code project.

I am facing problem with Streams. I need some kind guidance of some senior programmer.

Problem is that I receive some data in a ISpStreamFormat object. I want to read this data into byte pointers but when I call IStream->Read() functions with a non-zero argument as desired no of bytes to read, read method fails returning STG_E_INVALIDPOINTER message. Only fixing a zero "0" as the desired number of byted does not result in Failure message but it reads nothing.

So please if anybody guids me how to read binary data from ISpStreamFormat stream.

Regrads

Zia

AnswerRe: basic question Pin
Christian Graus10-Jun-07 12:24
protectorChristian Graus10-Jun-07 12:24 
GeneralRe: basic question Pin
smzhaq10-Jun-07 22:23
smzhaq10-Jun-07 22:23 
QuestionGetNamedSecurityInfo problem Pin
KellyR10-Jun-07 9:21
KellyR10-Jun-07 9:21 
AnswerRe: GetNamedSecurityInfo problem Pin
KellyR10-Jun-07 18:05
KellyR10-Jun-07 18:05 
GeneralRe: GetNamedSecurityInfo problem Pin
Mark Salsbery10-Jun-07 18:13
Mark Salsbery10-Jun-07 18:13 
QuestionUsing Microsoft Visual C++ 2005EE Compile Error Pin
Blekk10-Jun-07 8:20
Blekk10-Jun-07 8:20 
AnswerRe: Using Microsoft Visual C++ 2005EE Pin
Christian Graus10-Jun-07 12:27
protectorChristian Graus10-Jun-07 12:27 
GeneralRe: Using Microsoft Visual C++ 2005EE Pin
Blekk11-Jun-07 2:46
Blekk11-Jun-07 2:46 
Questionplease show me the way to read file text quickly Pin
Pham duc an10-Jun-07 7:09
Pham duc an10-Jun-07 7:09 
AnswerRe: please show me the way to read file text quickly Pin
Matthew Faithfull10-Jun-07 8:21
Matthew Faithfull10-Jun-07 8:21 
Questionoutput to printer Pin
KARFER10-Jun-07 4:32
KARFER10-Jun-07 4:32 
AnswerRe: output to printer Pin
Randor 10-Jun-07 11:00
professional Randor 10-Jun-07 11:00 
QuestionIs CSocket a blocking socket ? Pin
Girish60110-Jun-07 1:01
Girish60110-Jun-07 1:01 
AnswerRe: Is CSocket a blocking socket ? Pin
S Douglas10-Jun-07 2:11
professionalS Douglas10-Jun-07 2:11 
AnswerRe: Is CSocket a blocking socket ? Pin
Mark Salsbery10-Jun-07 6:44
Mark Salsbery10-Jun-07 6:44 
Question"Add Event Handler" greyed out in VS2005 Pin
flippydeflippydebop9-Jun-07 22:09
flippydeflippydebop9-Jun-07 22:09 
AnswerRe: "Add Event Handler" greyed out in VS2005 Pin
#realJSOP10-Jun-07 0:59
mve#realJSOP10-Jun-07 0:59 

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.