Click here to Skip to main content
15,883,961 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Disable All Breakpoints In Visual C++ 6.0 Pin
Moak7-Oct-10 4:15
Moak7-Oct-10 4:15 
QuestionMemory usage Pin
sonualex6-Oct-10 21:15
sonualex6-Oct-10 21:15 
AnswerRe: Memory usage Pin
Cedric Moonen6-Oct-10 21:29
Cedric Moonen6-Oct-10 21:29 
AnswerRe: Memory usage [modified] Pin
Aescleal6-Oct-10 22:51
Aescleal6-Oct-10 22:51 
QuestionRe: Memory usage Pin
sonualex12-Oct-10 23:37
sonualex12-Oct-10 23:37 
QuestionProgram crashes, log entries and map files Pin
Interrobang6-Oct-10 6:58
Interrobang6-Oct-10 6:58 
AnswerRe: Program crashes, log entries and map files Pin
Stephen Hewitt6-Oct-10 18:27
Stephen Hewitt6-Oct-10 18:27 
QuestionSOLVED memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) [modified] Pin
Vaclav_6-Oct-10 2:56
Vaclav_6-Oct-10 2:56 
I need to convert packed RGB bitmap data into RGBQUAD format.
I like to use two buffers to manupulate the data.
The required buffer size is over 1 MB and the memcpy fails to copy data between buffers.
It works fine with 640*480*3 buffer size, but fails with 640*480*4.
I am using VC++ 6.0 on Windows 2000.
Any constructive suggestions to solve this problem in my development enviroment will be as always appreciated.
Thanks for reading.
Vaclav

SOLUTIONs
1. Watch the syntax for buffer allocation
2. Make sure the buffers are same size.

modified on Wednesday, October 6, 2010 5:17 PM

QuestionRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
David Crow6-Oct-10 3:25
David Crow6-Oct-10 3:25 
AnswerRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Vaclav_6-Oct-10 3:33
Vaclav_6-Oct-10 3:33 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) PinPopular
David Crow6-Oct-10 4:00
David Crow6-Oct-10 4:00 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Vaclav_6-Oct-10 4:41
Vaclav_6-Oct-10 4:41 
AnswerRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
David Crow6-Oct-10 4:42
David Crow6-Oct-10 4:42 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Luc Pattyn6-Oct-10 4:44
sitebuilderLuc Pattyn6-Oct-10 4:44 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Moak6-Oct-10 6:45
Moak6-Oct-10 6:45 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Vaclav_6-Oct-10 7:40
Vaclav_6-Oct-10 7:40 
QuestionRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
David Crow6-Oct-10 8:20
David Crow6-Oct-10 8:20 
AnswerRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Luc Pattyn6-Oct-10 8:39
sitebuilderLuc Pattyn6-Oct-10 8:39 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Moak6-Oct-10 9:10
Moak6-Oct-10 9:10 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Richard MacCutchan6-Oct-10 9:25
mveRichard MacCutchan6-Oct-10 9:25 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Luc Pattyn6-Oct-10 9:54
sitebuilderLuc Pattyn6-Oct-10 9:54 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) SOLVED Pin
Vaclav_6-Oct-10 11:17
Vaclav_6-Oct-10 11:17 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) SOLVED Pin
Richard MacCutchan6-Oct-10 11:51
mveRichard MacCutchan6-Oct-10 11:51 
GeneralRe: memcpy size over 1 MB fails - unhandled exeption / access violation ( VC++ 6.0 ) Pin
Richard MacCutchan6-Oct-10 11:52
mveRichard MacCutchan6-Oct-10 11:52 
Questionatoi conversion query. Pin
Le@rner5-Oct-10 23:54
Le@rner5-Oct-10 23:54 

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.