Reputation: 9425
One of my delphi projects produces this error message when closing the IDE.
Note This is not the same as 'List Index out of bounds(0)' error.
Then it always shows another error: 'Invalid Pointer Operation'
Any ideas how i could locate where it is coming from?
Upvotes: 1
Views: 1424
Reputation: 16602
Try running the Delphi IDE in its own debugger (menu Run
, Load Process
, then choose the the IDE executable - delphi32.exe in your case). Then reproduce the problem with this project. You might get a hint where the problem is located.
Upvotes: 2
Reputation: 21713
You can install madExcept. Then it shows detailed information (callstack and more) about the exception and you might be able to locate the origin.
Upvotes: 0
Reputation: 43023
Sounds either like an IDE bug, or (more likely) like a bug in a component.
Fix and speedup the IDE
Install the latest official IDE hotfix (I guess Delphi 7 latest update is 7.1).
Download and install DelphiSpeedUp 3.1.
It may fix some issues, and will in fact make your IDE faster. Worth trying it.
Component issue
Could you uninstall all installed third-party components?
Then reinstall your custom packages one by one, checking which one triggers the error.
It's possible that some bug in the IDE editor part of some third-party component occurs at IDE closing.
Upvotes: 4
Reputation: 22740
"Invalid pointer operation" means you freed memory that didn't belong to you. One of these three things is the cause:
Upvotes: 1