Click here to Skip to main content
15,908,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to create log file and how it use? Pin
Hamid_RT12-Feb-07 7:08
Hamid_RT12-Feb-07 7:08 
Questionexcel automation with visual studio 2005 Pin
crome11-Feb-07 23:40
crome11-Feb-07 23:40 
AnswerRe: excel automation with visual studio 2005 Pin
led mike12-Feb-07 4:40
led mike12-Feb-07 4:40 
AnswerRe: excel automation with visual studio 2005 Pin
crome14-Feb-07 16:06
crome14-Feb-07 16:06 
QuestionIam getting memory access violation error in VC Pin
harshadha11-Feb-07 23:28
harshadha11-Feb-07 23:28 
AnswerRe: Iam getting memory access violation error in VC Pin
benjymous11-Feb-07 23:34
benjymous11-Feb-07 23:34 
GeneralRe: Iam getting memory access violation error in VC Pin
harshadha12-Feb-07 0:11
harshadha12-Feb-07 0:11 
GeneralRe: Iam getting memory access violation error in VC Pin
benjymous12-Feb-07 1:15
benjymous12-Feb-07 1:15 
I think you've got your initial variable setup the wrong way round. bmpsize doesn't seem to have a value, and you're setting the value of your pointer to 0x00fc0, which I guess is meant to be the actual size. If that's the case, you've also got the second and third arguments of memset the wrong way around.

I hope you'll remember to free that pointer when you're done with it.



AnswerRe: Iam getting memory access violation error in VC Pin
Cedric Moonen11-Feb-07 23:35
Cedric Moonen11-Feb-07 23:35 
AnswerRe: Iam getting memory access violation error in VC Pin
joelgarabedian11-Feb-07 23:36
joelgarabedian11-Feb-07 23:36 
AnswerRe: Iam getting memory access violation error in VC Pin
jhwurmbach11-Feb-07 23:37
jhwurmbach11-Feb-07 23:37 
QuestionRe: Iam getting memory access violation error in VC Pin
prasad_som11-Feb-07 23:39
prasad_som11-Feb-07 23:39 
AnswerRe: Iam getting memory access violation error in VC Pin
harshadha12-Feb-07 0:15
harshadha12-Feb-07 0:15 
AnswerRe: Iam getting memory access violation error in VC Pin
prasad_som12-Feb-07 0:20
prasad_som12-Feb-07 0:20 
GeneralRe: Iam getting memory access violation error in VC Pin
harshadha12-Feb-07 0:38
harshadha12-Feb-07 0:38 
AnswerRe: Iam getting memory access violation error in VC Pin
prasad_som12-Feb-07 0:42
prasad_som12-Feb-07 0:42 
AnswerRe: Iam getting memory access violation error in VC Pin
kakan12-Feb-07 0:10
professionalkakan12-Feb-07 0:10 
GeneralRe: Iam getting memory access violation error in VC Pin
harshadha12-Feb-07 0:14
harshadha12-Feb-07 0:14 
GeneralRe: Iam getting memory access violation error in VC Pin
kakan12-Feb-07 0:27
professionalkakan12-Feb-07 0:27 
GeneralRe: Iam getting memory access violation error in VC Pin
harshadha12-Feb-07 0:34
harshadha12-Feb-07 0:34 
QuestionErasing Button Edge lines ? Pin
Sakthiu11-Feb-07 23:21
Sakthiu11-Feb-07 23:21 
AnswerRe: Erasing Button Edge lines ? Pin
Hamid_RT12-Feb-07 7:04
Hamid_RT12-Feb-07 7:04 
AnswerRe: Erasing Button Edge lines ? Pin
Naveen11-Feb-07 23:22
Naveen11-Feb-07 23:22 
GeneralRe: Erasing Button Edge lines ? Pin
Sakthiu11-Feb-07 23:24
Sakthiu11-Feb-07 23:24 
GeneralRe: Erasing Button Edge lines ? Pin
Naveen11-Feb-07 23:32
Naveen11-Feb-07 23:32 

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.