Well, this is your third time doing this question, and you don't even bother in changing such a lazy content.
In one [^] of them you got an answer from Christian Graus and, in the second one[^], you got an answer from me.
Instead of asking another time, why the hell don't you take a look in your previous questions?
If you continue like that, I bet that you will not end nicely.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
When the loader loads a DLL or EXE the address it loads it at (the base address) plus the RVA of something of interest in the image will give you its address in memory. Put another way, it's the location of something in memory relative to the base address of the containing module. Remember that DLLs can be relocated if need be so the base address need not always be the same.
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
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.
I am using Excel Automation for that.. but i am trying to close the excel file and then open it again in a different function and then i am trying to append it again. that is not happening. I am using PutElement function to write the values into the excel file. but i am getting an exception there.