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

C / C++ / MFC

 
GeneralRe: declare CRect Pin
David Crow8-Oct-03 8:24
David Crow8-Oct-03 8:24 
GeneralRe: declare CRect Pin
Larry J. Siddens8-Oct-03 9:54
Larry J. Siddens8-Oct-03 9:54 
QuestionAnyone have a link to source for a graph data structure? Pin
adonisv8-Oct-03 7:26
adonisv8-Oct-03 7:26 
AnswerRe: Anyone have a link to source for a graph data structure? Pin
Ryan_Roberts8-Oct-03 7:44
Ryan_Roberts8-Oct-03 7:44 
GeneralRe: Anyone have a link to source for a graph data structure? Pin
adonisv8-Oct-03 21:30
adonisv8-Oct-03 21:30 
QuestionSimulating a disk file with a memory file? Pin
Miguel Lopes8-Oct-03 7:21
Miguel Lopes8-Oct-03 7:21 
AnswerRe: Simulating a disk file with a memory file? Pin
Alex Dolpfin9-Oct-03 3:32
Alex Dolpfin9-Oct-03 3:32 
GeneralPVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 7:17
Dave Harper8-Oct-03 7:17 
Hi there
I am writing a video capture application using an SDK from the video capture card manufacturer. So far I have been able to display the real time video in a window, my next step is to process single frame information which is stored as a bitmap in a buffer. This buffer is defined as follows:

PVOID pBuffer;

I cannot change this buffer at all as it is part of the SDK. The information stored in the buffer does not need to be changed at all.

I can access the address of the buffer by just using pBuffer, but if I try and de-reference it by using *pBuffer I get an illegal indirection error. Confused | :confused:

There is no explanation for the PVOID type in the MSDN help Sigh | :sigh: apart for "a pointer to any type".

Can anyone help?

Thanks Dave
GeneralRe: PVOID pBuffer; access to data :confused: Pin
ZoogieZork8-Oct-03 7:53
ZoogieZork8-Oct-03 7:53 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 8:18
Dave Harper8-Oct-03 8:18 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
ZoogieZork8-Oct-03 8:27
ZoogieZork8-Oct-03 8:27 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 9:07
Dave Harper8-Oct-03 9:07 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Terry O'Nolley8-Oct-03 9:18
Terry O'Nolley8-Oct-03 9:18 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
ZoogieZork8-Oct-03 10:13
ZoogieZork8-Oct-03 10:13 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Bo Hunter8-Oct-03 10:31
Bo Hunter8-Oct-03 10:31 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 11:36
Dave Harper8-Oct-03 11:36 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
ZoogieZork8-Oct-03 12:43
ZoogieZork8-Oct-03 12:43 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 13:07
Dave Harper8-Oct-03 13:07 
QuestionConsole c++ global class? Pin
immanis8-Oct-03 7:06
immanis8-Oct-03 7:06 
AnswerRe: Console c++ global class? Pin
Ryan_Roberts8-Oct-03 7:14
Ryan_Roberts8-Oct-03 7:14 
GeneralRe: Console c++ global class? Pin
immanis8-Oct-03 18:03
immanis8-Oct-03 18:03 
AnswerRe: Console c++ global class? Pin
David Crow8-Oct-03 8:17
David Crow8-Oct-03 8:17 
GeneralSplitter Window Control Pin
Lea Hayes8-Oct-03 6:39
Lea Hayes8-Oct-03 6:39 
GeneralRe: Splitter Window Control Pin
David Crow8-Oct-03 6:43
David Crow8-Oct-03 6:43 
GeneralPrinting size -bmp-help needed! Pin
radha vijay8-Oct-03 5:25
radha vijay8-Oct-03 5:25 

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.