Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: X25 network Pin
Jörgen Sigvardsson21-Aug-05 12:25
Jörgen Sigvardsson21-Aug-05 12:25 
Questionhow do u allow user to "draw" in SDK Pin
Tim Zorn21-Aug-05 12:02
Tim Zorn21-Aug-05 12:02 
AnswerRe: how do u allow user to "draw" in SDK Pin
alex.barylski21-Aug-05 13:27
alex.barylski21-Aug-05 13:27 
GeneralRe: how do u allow user to "draw" in SDK Pin
Tim Zorn21-Aug-05 14:06
Tim Zorn21-Aug-05 14:06 
AnswerRe: how do u allow user to "draw" in SDK Pin
Jose Lamas Rios21-Aug-05 16:18
Jose Lamas Rios21-Aug-05 16:18 
Generali dont understand why i cant... Pin
Tim Zorn21-Aug-05 11:51
Tim Zorn21-Aug-05 11:51 
GeneralRe: i dont understand why i cant... Pin
Trollslayer21-Aug-05 12:50
mentorTrollslayer21-Aug-05 12:50 
GeneralRe: i dont understand why i cant... Pin
Gurra_Koo21-Aug-05 12:50
Gurra_Koo21-Aug-05 12:50 
GeneralRe: i dont understand why i cant... Pin
Jose Lamas Rios21-Aug-05 15:38
Jose Lamas Rios21-Aug-05 15:38 
GeneralRe: i dont understand why i cant... Pin
Tim Zorn21-Aug-05 14:09
Tim Zorn21-Aug-05 14:09 
GeneralRe: i dont understand why i cant... Pin
Tim Zorn22-Aug-05 5:37
Tim Zorn22-Aug-05 5:37 
GeneralRe: i dont understand why i cant... Pin
Tim Zorn21-Aug-05 14:23
Tim Zorn21-Aug-05 14:23 
GeneralRe: i dont understand why i cant... Pin
Jose Lamas Rios22-Aug-05 5:50
Jose Lamas Rios22-Aug-05 5:50 
GeneralRe: i dont understand why i cant... Pin
Jose Lamas Rios21-Aug-05 16:40
Jose Lamas Rios21-Aug-05 16:40 
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 

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.