Click here to Skip to main content
16,006,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionautomate an already-launched visual studio IDE Pin
ppp00120-Mar-07 8:00
ppp00120-Mar-07 8:00 
QuestionCommon Controls 6 and porting from VS2003 to VS2005 Pin
Christopher Duncan20-Mar-07 7:02
Christopher Duncan20-Mar-07 7:02 
Questionowner-drawn button Pin
iayd20-Mar-07 6:59
iayd20-Mar-07 6:59 
AnswerRe: owner-drawn button Pin
toxcct20-Mar-07 7:12
toxcct20-Mar-07 7:12 
AnswerRe: owner-drawn button Pin
johny_d20-Mar-07 12:37
johny_d20-Mar-07 12:37 
QuestionCImage Woes Pin
VonHagNDaz20-Mar-07 5:32
VonHagNDaz20-Mar-07 5:32 
AnswerRe: CImage Woes Pin
Dave Calkins20-Mar-07 5:44
Dave Calkins20-Mar-07 5:44 
GeneralRe: CImage Woes Pin
VonHagNDaz20-Mar-07 5:53
VonHagNDaz20-Mar-07 5:53 
GetPitch() returns a -2692, which mean the DIB is bottom up. this means that the buffer pointer is pointing towards the last row of the image.

the buffer is the bitmap buffer that GetBits() returns the pointer to.
I got the 3224 with a dumb for loop to see when i got the access violation.

for(int i = 0; i < 999999999; i++)
nBits[i] = o;

it broke on i = 3224

I win because I have the most fun in life...

GeneralRe: CImage Woes Pin
Mark Salsbery20-Mar-07 8:47
Mark Salsbery20-Mar-07 8:47 
QuestionRe: CImage Woes Pin
David Crow20-Mar-07 7:24
David Crow20-Mar-07 7:24 
AnswerRe: CImage Woes Pin
VonHagNDaz20-Mar-07 8:06
VonHagNDaz20-Mar-07 8:06 
GeneralRe: CImage Woes Pin
Mark Salsbery20-Mar-07 8:45
Mark Salsbery20-Mar-07 8:45 
GeneralRe: CImage Woes Pin
VonHagNDaz20-Mar-07 9:10
VonHagNDaz20-Mar-07 9:10 
GeneralRe: CImage Woes Pin
Mark Salsbery20-Mar-07 9:12
Mark Salsbery20-Mar-07 9:12 
Questionlib file problem. Pin
david bagaturia20-Mar-07 4:26
david bagaturia20-Mar-07 4:26 
AnswerRe: lib file problem. Pin
toxcct20-Mar-07 4:27
toxcct20-Mar-07 4:27 
GeneralRe: lib file problem. Pin
david bagaturia20-Mar-07 4:35
david bagaturia20-Mar-07 4:35 
AnswerRe: lib file problem. Pin
prasad_som20-Mar-07 5:47
prasad_som20-Mar-07 5:47 
GeneralRe: lib file problem. Pin
david bagaturia20-Mar-07 19:17
david bagaturia20-Mar-07 19:17 
QuestionClient Socket and connection problem Pin
nahitan20-Mar-07 4:25
nahitan20-Mar-07 4:25 
AnswerRe: Client Socket and connection problem Pin
Mark Salsbery20-Mar-07 8:57
Mark Salsbery20-Mar-07 8:57 
GeneralRe: Client Socket and connection problem Pin
nahitan20-Mar-07 9:18
nahitan20-Mar-07 9:18 
GeneralRe: Client Socket and connection problem Pin
Mark Salsbery20-Mar-07 9:23
Mark Salsbery20-Mar-07 9:23 
GeneralRe: Client Socket and connection problem Pin
nahitan20-Mar-07 9:32
nahitan20-Mar-07 9:32 
GeneralRe: Client Socket and connection problem Pin
Mark Salsbery20-Mar-07 10:04
Mark Salsbery20-Mar-07 10: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.