Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: What is the MFC future PinmemberStefan_Lang26-Feb-13 4:16 
GeneralRe: What is the MFC future Pingroupyu-jian26-Feb-13 18:44 
AnswerRe: What is the MFC future Pingroup_AnsHUMAN_ 27-Feb-13 2:42 
AnswerRe: What is the MFC future PinmemberJoe Woodbury4-Mar-13 13:00 
QuestionWere is a source of "sal.h" header file? PinmemberVaclav_Sal25-Feb-13 6:19 
AnswerRe: Were is a source of "sal.h" header file? PinmvpRichard MacCutchan25-Feb-13 6:44 
GeneralRe: Were is a source of "sal.h" header file? PinmemberVaclav_Sal25-Feb-13 6:52 
GeneralRe: Were is a source of "sal.h" header file? PinmemberSoMad25-Feb-13 7:39 
GeneralRe: Were is a source of "sal.h" header file? PinmemberVaclav_Sal25-Feb-13 10:21 
QuestionGoogle contacts from Visual Studio 2008 C++ desktop application PinmemberMember 86892625-Feb-13 1:54 
QuestionHow to resize a property sheet according to the DPI settings in MFC. Pinmembermbatra3124-Feb-13 23:35 
AnswerRe: How to resize a property sheet according to the DPI settings in MFC. PinmvpRichard MacCutchan25-Feb-13 1:22 
QuestionDisplaying Image from stream Pinmembertoms from newdelhi24-Feb-13 18:55 
AnswerRe: Displaying Image from stream PinmemberSoMad24-Feb-13 19:58 
I have never tried doing it this way, but it looks like you took the sample from here[^], removed some stuff to make it simpler and changed it to write directly to your generic IStream object. I am not sure I like the whole thing, but it is kind of an interesting approach - if it works.
 
You do not show how you acquire the data that is stored in chIncomingDataBuffer. Are you sure this buffer contains an entire image?
 
I don't know if it is going to work, but right after you write the data to your pstream, its internal position will be pointing to the end of the data you just wrote. Try calling Seek() in order to change it to point to the start of the data.
 
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

GeneralRe: Displaying Image from stream Pinmembertoms from newdelhi24-Feb-13 20:05 
GeneralRe: Displaying Image from stream PinmemberSoMad24-Feb-13 20:10 
GeneralRe: Displaying Image from stream Pinmembertoms from newdelhi24-Feb-13 20:53 
GeneralRe: Displaying Image from stream PinmemberSoMad24-Feb-13 21:18 
GeneralRe: Displaying Image from stream Pinmembertoms from newdelhi24-Feb-13 21:28 
GeneralRe: Displaying Image from stream PinmemberSoMad24-Feb-13 22:31 
GeneralRe: Displaying Image from stream Pinmembertoms from newdelhi24-Feb-13 22:53 
GeneralRe: Displaying Image from stream PinmemberSoMad24-Feb-13 23:09 
GeneralRe: Displaying Image from stream PinmvpRichard MacCutchan25-Feb-13 1:20 
GeneralRe: Displaying Image from stream PinmemberSoMad25-Feb-13 1:48 
GeneralRe: Displaying Image from stream PinmvpRichard MacCutchan25-Feb-13 1:55 
AnswerRe: Displaying Image from stream - [REPOST] PinmvpRichard MacCutchan25-Feb-13 1:51 
GeneralRe: Displaying Image from stream - [REPOST] Pinmembertoms from newdelhi25-Feb-13 2:49 
GeneralRe: Displaying Image from stream - [REPOST] PinmvpRichard MacCutchan25-Feb-13 4:04 
QuestionConnect directshow filters Pinmember11moshiko1124-Feb-13 5:41 
QuestionBuild for 64bit Pinmemberjohn563222-Feb-13 0:13 
AnswerRe: Build for 64bit PinmvpRichard MacCutchan22-Feb-13 0:55 
AnswerRe: Build for 64bit Pinmember«_Superman_»23-Feb-13 16:51 
GeneralRe: Build for 64bit Pinmemberjohn563224-Feb-13 21:28 
QuestionButon Control Text Display problem in MFC PinmemberLakshman c b21-Feb-13 18:04 
AnswerRe: Buton Control Text Display problem in MFC Pingroupyu-jian23-Feb-13 4:30 
GeneralRe: Buton Control Text Display problem in MFC PinmemberLakshman c b24-Feb-13 19:34 
GeneralRe: Buton Control Text Display problem in MFC Pingroupyu-jian24-Feb-13 22:31 
GeneralRe: Buton Control Text Display problem in MFC PinmemberSoMad24-Feb-13 20:07 
Questionsystem() in MFC PinmemberRomTibi21-Feb-13 10:51 
AnswerRe: system() in MFC PinmemberGarth J Lancaster21-Feb-13 11:16 
GeneralRe: system() in MFC PinmemberStephen Hewitt21-Feb-13 15:55 
GeneralRe: system() in MFC PinmemberGarth J Lancaster21-Feb-13 16:03 
AnswerRe: system() in MFC PinmemberRajesh R Subramanian21-Feb-13 20:17 
AnswerRe: system() in MFC PinmvpRichard MacCutchan21-Feb-13 23:30 
GeneralRe: system() in MFC PinmemberAlbert Holguin24-Feb-13 8:38 
QuestionDoubt in c++ PinmemberJackkrishjk21-Feb-13 1:17 
AnswerRe: Doubt in c++ PinmvpRichard MacCutchan21-Feb-13 2:26 
AnswerRe: Doubt in c++ PinmemberAlan Balkany21-Feb-13 5:33 
GeneralRe: Doubt in c++ PinmemberSCProrammer21-Feb-13 6:31 
AnswerRe: Doubt in c++ PinmemberDavidCrow21-Feb-13 6:56 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid