Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: i dont understand why i cant... Pin
Tim Zorn22-Aug-05 5:34
Tim Zorn22-Aug-05 5:34 
GeneralRe: i dont understand why i cant... Pin
Jose Lamas Rios22-Aug-05 5:47
Jose Lamas Rios22-Aug-05 5:47 
GeneralMDI problem Pin
Ali Tavakol21-Aug-05 9:45
Ali Tavakol21-Aug-05 9:45 
GeneralRe: MDI problem Pin
Gurra_Koo21-Aug-05 12:54
Gurra_Koo21-Aug-05 12:54 
GeneralRe: MDI problem Pin
Ali Tavakol21-Aug-05 20:04
Ali Tavakol21-Aug-05 20:04 
Questionhow to get binary RGB data from webcam? Pin
ThinkingPrometheus21-Aug-05 9:14
ThinkingPrometheus21-Aug-05 9:14 
AnswerRe: how to get binary RGB data from webcam? Pin
Andrew Walker21-Aug-05 16:32
Andrew Walker21-Aug-05 16:32 
GeneralRe: how to get binary RGB data from webcam? Pin
ThinkingPrometheus23-Aug-05 12:11
ThinkingPrometheus23-Aug-05 12:11 
hiho

thx for your help!!
this library (OpenCV/cvcam) is damn cool!
it's exactly what i need and i just got it run

but i have a little problem, maybe you can help if you already worked with the library

i have a IplImage pointer to the image from which i want to read the image's RGB values
my problem is the access to the rawdata array!
the pointer points to a image structure with a value
imageData = the raw data
imageSize = the byte size (i think)

in an example i saw this code
memset(img->imageData, 0, img->imageSize/2);
which simply set's the first half of the image to black
this code crashes my prog!
the same happens if i use a loop to read every pixel values
i just can read the first 146047 bytes of the buffer
then it crashes
i'm sure it's because it's a segmentation fault
so my question
if i use image->imageSize as a byte limit for the image raw data buffer
and this is wrong
how do i know the exact size of the raw data buffer? because imageSize doesn't seem to be correct

thx
GeneralPrinting multiple Views in MFC Pin
suzie10021-Aug-05 8:40
suzie10021-Aug-05 8:40 
GeneralRe: Printing multiple Views in MFC Pin
Jano Petras21-Aug-05 14:46
Jano Petras21-Aug-05 14:46 
Generalgetting text of selected item in listview Pin
/*Trucker*\21-Aug-05 8:04
/*Trucker*\21-Aug-05 8:04 
GeneralRe: getting text of selected item in listview Pin
Jose Lamas Rios21-Aug-05 11:08
Jose Lamas Rios21-Aug-05 11:08 
GeneralRe: getting text of selected item in listview Pin
/*Trucker*\21-Aug-05 11:16
/*Trucker*\21-Aug-05 11:16 
GeneralRe: getting text of selected item in listview Pin
Jose Lamas Rios21-Aug-05 17:35
Jose Lamas Rios21-Aug-05 17:35 
GeneralRe: getting text of selected item in listview Pin
Jordan C. Atlas5-Apr-06 11:37
Jordan C. Atlas5-Apr-06 11:37 
GeneralTaskbar Button don't have the correct status Pin
mamtz21-Aug-05 7:10
mamtz21-Aug-05 7:10 
GeneralRe: Taskbar Button don't have the correct status Pin
/*Trucker*\21-Aug-05 9:43
/*Trucker*\21-Aug-05 9:43 
GeneralRe: Taskbar Button don't have the correct status Pin
mamtz22-Aug-05 7:45
mamtz22-Aug-05 7:45 
Questionhow to hide taskbar Pin
gr8coaster32921-Aug-05 6:35
gr8coaster32921-Aug-05 6:35 
AnswerRe: how to hide taskbar Pin
Graham Bradshaw21-Aug-05 6:45
Graham Bradshaw21-Aug-05 6:45 
GeneralRe: how to hide taskbar Pin
gr8coaster32921-Aug-05 6:52
gr8coaster32921-Aug-05 6:52 
GeneralRe: how to hide taskbar Pin
Graham Bradshaw21-Aug-05 6:54
Graham Bradshaw21-Aug-05 6:54 
GeneralRe: how to hide taskbar Pin
gr8coaster32921-Aug-05 6:57
gr8coaster32921-Aug-05 6:57 
AnswerRe: how to hide taskbar Pin
mamtz21-Aug-05 6:48
mamtz21-Aug-05 6:48 
Generalseeking gurus: get other app content Pin
Anonymous21-Aug-05 1:12
Anonymous21-Aug-05 1:12 

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.