hi jkr,
I made changes as you suggested, but it is still the same. Same user break point exception at Setclipboard(...) saying that heap has been corrupted.
Error is as follows:
---
Windows has triggered a breakpoint in <exe>.exe
This may be due a corruption of the heap, which indicates a bug in <exe>.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while <exe>.exe has focus.
The output window has more diagnostic information.
---
The Output window in VS2008 has the following additional information:
HEAP[AI_Talapatra.exe]: Invalid address specified to RtlFreeHeap( 001A0000, 001D9B10 )
Windows has triggered a breakpoint in AI_Talapatra.exe.
Now, the code is as below. First exception is raised at Setclipboard(...), I clicked 'Continue' and then it showed exception at the lines below it continuously: GlobalUnlock(...) and GlobalFree(...), I clicked 'Continute' even at this stage, and the program did not crash, as it was before.
Main Topics
Browse All Topics





by: jkrPosted on 2008-07-31 at 09:52:16ID: 22131426
>>GlobalUnlock(clipbuffer);
That seems to be placed too early. Try
Select allOpen in new window