Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Source Control Integration Pin
Tomasz Sowinski1-Oct-02 11:55
Tomasz Sowinski1-Oct-02 11:55 
GeneralRe: Source Control Integration Pin
Jon Sagara1-Oct-02 12:48
Jon Sagara1-Oct-02 12:48 
GeneralRe: Source Control Integration Pin
Jon Sagara1-Oct-02 14:03
Jon Sagara1-Oct-02 14:03 
GeneralSpecialized User Interface Design for MSN Messenger Pin
James A Beggs1-Oct-02 11:38
James A Beggs1-Oct-02 11:38 
GeneralCFrameWnd::Create Pin
RK_20001-Oct-02 11:26
RK_20001-Oct-02 11:26 
GeneralRe: CFrameWnd::Create Pin
Tomasz Sowinski1-Oct-02 11:39
Tomasz Sowinski1-Oct-02 11:39 
GeneralRe: CFrameWnd::Create Pin
Anonymous1-Oct-02 12:40
Anonymous1-Oct-02 12:40 
GeneralDLL hell. please help! Pin
will13831-Oct-02 10:49
will13831-Oct-02 10:49 
I have written a dll that acts as a central location for a specific data set. I've set the following declaration:

#ifdef __cplusplus
#define EXPORT extern "C" __declspec(dllexport)
#else
#define EXPORT __declspec(dllexport)
#endif

My problem is this. I have an array of data that is built and maintained within the DLL. I have a function that returns a pointer to that data set (array). Upon shutdown of the application, I get the following error:

"dbgheap.c line 1011 _CrtIsValidHeapPoint, or an error accessing the heap"

The trace in debug dumps this:

"Heap Block at c50038 modified at c572e0 past requested size of 72a0"

What I believe is happening is the application tries to clean up, but the memory for this data pointer I have is located in the DLL heap, i.e., not local to the app, causing this error.

I thought I could just free the point in the application and all would be fine, but this is not working at all.

Any suggestions? I have no idea on this one. I thought it might be how I'm declaring the function, or dll as stated above, but that doesn't fix the issue.

Any help is GREATLY Appreciated as I am really lost here.Confused | :confused: Thanks.

Dan
GeneralRe: DLL hell. please help! Pin
Tomasz Sowinski1-Oct-02 11:15
Tomasz Sowinski1-Oct-02 11:15 
GeneralRe: DLL hell. please help! Pin
Dimitri Rochette1-Oct-02 11:44
Dimitri Rochette1-Oct-02 11:44 
Generalproblem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek1-Oct-02 10:49
sussMariusz Popiolek1-Oct-02 10:49 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek1-Oct-02 11:27
sussMariusz Popiolek1-Oct-02 11:27 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Tomasz Sowinski1-Oct-02 11:42
Tomasz Sowinski1-Oct-02 11:42 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek1-Oct-02 12:13
sussMariusz Popiolek1-Oct-02 12:13 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Tomasz Sowinski1-Oct-02 12:18
Tomasz Sowinski1-Oct-02 12:18 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek2-Oct-02 0:22
sussMariusz Popiolek2-Oct-02 0:22 
QuestionHow do I do this? Pin
Anonymous1-Oct-02 9:31
Anonymous1-Oct-02 9:31 
AnswerRe: How do I do this? Pin
Nick Parker1-Oct-02 9:40
protectorNick Parker1-Oct-02 9:40 
AnswerRe: How do I do this? Pin
Scott H. Settlemier1-Oct-02 9:51
Scott H. Settlemier1-Oct-02 9:51 
AnswerRe: How do I do this? Pin
Michael Dunn1-Oct-02 9:47
sitebuilderMichael Dunn1-Oct-02 9:47 
AnswerRe: How do I do this? Pin
PJ Arends1-Oct-02 9:47
professionalPJ Arends1-Oct-02 9:47 
AnswerRe: How do I do this? Pin
Mariusz Popiolek1-Oct-02 9:52
sussMariusz Popiolek1-Oct-02 9:52 
AnswerRe: How do I do this? Pin
Scott H. Settlemier1-Oct-02 10:00
Scott H. Settlemier1-Oct-02 10:00 
GeneralRe: How do I do this? Pin
PJ Arends1-Oct-02 10:15
professionalPJ Arends1-Oct-02 10:15 
GeneralRe: How do I do this? Pin
Mariusz Popiolek1-Oct-02 10:15
sussMariusz Popiolek1-Oct-02 10:15 

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.