Click here to Skip to main content
14,693,599 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat does c++ class allocate in memory image. Pin
aiming04201-Feb-10 22:16
Memberaiming04201-Feb-10 22:16 
AnswerRe: what does c++ class allocate in memory image. Pin
KingsGambit1-Feb-10 22:21
MemberKingsGambit1-Feb-10 22:21 
GeneralRe: what does c++ class allocate in memory image. Pin
aiming04201-Feb-10 23:14
Memberaiming04201-Feb-10 23:14 
QuestionWhat Relative Virtual Addressing is and the whole story behinds it ? Pin
glitteringsound1-Feb-10 22:01
Memberglitteringsound1-Feb-10 22:01 
AnswerRe: What Relative Virtual Addressing is and the whole story behinds it ? Pin
Stephen Hewitt1-Feb-10 22:17
MemberStephen Hewitt1-Feb-10 22:17 
GeneralRe: What Relative Virtual Addressing is and the whole story behinds it ? Pin
glitteringsound1-Feb-10 22:54
Memberglitteringsound1-Feb-10 22:54 
AnswerRe: What Relative Virtual Addressing is and the whole story behinds it ? Pin
CPallini1-Feb-10 22:58
mveCPallini1-Feb-10 22:58 
QuestionHow to use MFC in CLR Console Applications Pin
Member 43997711-Feb-10 20:32
MemberMember 43997711-Feb-10 20:32 
Hi All,

I am beginner to MFC programming. I created one CLR Console Applications project, here in this project I want to use MFC classes like CString,CArray,CFile....etc.

In project settings I used "Use MFC in a shared DLL"
And in project stdafx.h file I am adding
#include<afx.h>


I also used few classes from MFC in the application and complied, I am not getting any errors.
But while running the application, I am facing crash in the application. and the error message is as follows

An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module.
Additional information:Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Please provide some solution for this.
Thanks in advance.

Regards,
Kumar
AnswerRe: How to use MFC in CLR Console Applications Pin
«_Superman_»1-Feb-10 21:44
professional«_Superman_»1-Feb-10 21:44 
GeneralRe: How to use MFC in CLR Console Applications Pin
Member 43997711-Feb-10 21:58
MemberMember 43997711-Feb-10 21:58 
GeneralRe: How to use MFC in CLR Console Applications Pin
Member 43997712-Feb-10 20:43
MemberMember 43997712-Feb-10 20:43 
QuestionExcel Automation Pin
Chandrasekharan P1-Feb-10 20:23
MemberChandrasekharan P1-Feb-10 20:23 
AnswerRe: Excel Automation Pin
MsmVc1-Feb-10 21:36
MemberMsmVc1-Feb-10 21:36 
QuestionRe: Excel Automation Pin
David Crow2-Feb-10 4:28
MemberDavid Crow2-Feb-10 4:28 
AnswerRe: Excel Automation Pin
Chandrasekharan P2-Feb-10 5:41
MemberChandrasekharan P2-Feb-10 5:41 
QuestionFont in Win32 Application Pin
john56321-Feb-10 19:34
Memberjohn56321-Feb-10 19:34 
AnswerRe: Font in Win32 Application Pin
KingsGambit1-Feb-10 19:36
MemberKingsGambit1-Feb-10 19:36 
AnswerRe: Font in Win32 Application Pin
Iain Clarke, Warrior Programmer1-Feb-10 22:09
MemberIain Clarke, Warrior Programmer1-Feb-10 22:09 
GeneralRe: Font in Win32 Application Pin
CPallini1-Feb-10 22:53
mveCPallini1-Feb-10 22:53 
GeneralRe: Font in Win32 Application Pin
Iain Clarke, Warrior Programmer1-Feb-10 23:11
MemberIain Clarke, Warrior Programmer1-Feb-10 23:11 
AnswerRe: Font in Win32 Application Pin
CPallini1-Feb-10 22:18
mveCPallini1-Feb-10 22:18 
QuestionResize formview at runtime Pin
Abinash Mohanty1-Feb-10 19:02
MemberAbinash Mohanty1-Feb-10 19:02 
Questionhi all, how do i add or modify the jpg image's exif info ? Is there some class for modify ? thx! Pin
kiluar1-Feb-10 17:53
Memberkiluar1-Feb-10 17:53 
AnswerRe: hi all, how do i add or modify the jpg image's exif info ? Is there some class for modify ? thx! Pin
Sameerkumar Namdeo1-Feb-10 18:10
MemberSameerkumar Namdeo1-Feb-10 18:10 
GeneralRe: hi all, how do i add or modify the jpg image's exif info ? Is there some class for modify ? thx! Pin
kiluar1-Feb-10 23:00
Memberkiluar1-Feb-10 23:00 

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.