Click here to Skip to main content
15,913,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem CRecordSet Pin
RadioShark23-Mar-04 7:11
RadioShark23-Mar-04 7:11 
GeneralRe: Problem CRecordSet Pin
David Crow23-Mar-04 8:17
David Crow23-Mar-04 8:17 
General_crtisvalidheappointer (URGENT) Pin
BlackDice23-Mar-04 6:53
BlackDice23-Mar-04 6:53 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
Steve S23-Mar-04 7:27
Steve S23-Mar-04 7:27 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
BlackDice23-Mar-04 7:36
BlackDice23-Mar-04 7:36 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
Steve S23-Mar-04 21:30
Steve S23-Mar-04 21:30 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
BlackDice23-Mar-04 7:47
BlackDice23-Mar-04 7:47 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
Steve S23-Mar-04 21:40
Steve S23-Mar-04 21:40 
Pretty much as I suspected, then.

There are a few causes of this:

o This could be freeing memory twice (more common than you'd expect!)
o Using malloc/new, then altering the pointer before calling free/delete.
o Block overrun (writing past the allocated buffer)
o Accessing memory after freeing it

Also, you might want to read PSS 190799 in the MSDN KB for what you can't pass around via DLLs.

Can you do a debug build of your DLL, and run VB via the debugger or use DBMON/DebugView to see the debug output? It might provide more information...

Steve S
GeneralAdding Items to CTabCtrl Pin
mmica23-Mar-04 6:38
mmica23-Mar-04 6:38 
GeneralRe: Adding Items to CTabCtrl Pin
Ravi Bhavnani23-Mar-04 10:59
professionalRavi Bhavnani23-Mar-04 10:59 
Generalrand Pin
nicolas thompson23-Mar-04 5:59
sussnicolas thompson23-Mar-04 5:59 
GeneralRe: rand Pin
RadioShark23-Mar-04 6:12
RadioShark23-Mar-04 6:12 
GeneralRe: rand Pin
nicolas thompson23-Mar-04 10:22
sussnicolas thompson23-Mar-04 10:22 
GeneralRe: rand Pin
David Crow23-Mar-04 10:26
David Crow23-Mar-04 10:26 
GeneralRe: rand Pin
David Crow23-Mar-04 6:29
David Crow23-Mar-04 6:29 
GeneralRe: rand Pin
nicolas thompson23-Mar-04 10:17
sussnicolas thompson23-Mar-04 10:17 
GeneralRe: rand Pin
David Crow23-Mar-04 10:23
David Crow23-Mar-04 10:23 
GeneralRe: rand Pin
Anonymous23-Mar-04 10:38
Anonymous23-Mar-04 10:38 
GeneralRe: rand Pin
David Crow23-Mar-04 10:48
David Crow23-Mar-04 10:48 
GeneralRe: rand Pin
nicolas thompson23-Mar-04 10:38
sussnicolas thompson23-Mar-04 10:38 
Generalfind current path (C++ DLL called from C# file) Pin
jazzle23-Mar-04 5:56
jazzle23-Mar-04 5:56 
GeneralRe: find current path (C++ DLL called from C# file) Pin
RadioShark23-Mar-04 6:14
RadioShark23-Mar-04 6:14 
GeneralRe: find current path (C++ DLL called from C# file) Pin
jazzle23-Mar-04 6:36
jazzle23-Mar-04 6:36 
GeneralRe: find current path (C++ DLL called from C# file) Pin
jazzle23-Mar-04 8:48
jazzle23-Mar-04 8:48 
GeneralRe: find current path (C++ DLL called from C# file) Pin
David Crow23-Mar-04 9:57
David Crow23-Mar-04 9:57 

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.