Knowledgebase

status_loader

Error messages in the Delphi IDE

Question / Problem

When I move to certain folders (e.g C:\Windows\assembly) Delphi displays an error message like: "Could not get IShellFolder2 interface for current folder". How can I prevent this?

Answer / Solution

This message is triggered by a handled excpetion. In the default configuration, RAD Studio stops on all exceptions, if handled or not. The end-user will not see errors like this for handled excpetions. Using exceptions for error handling is common in modern programming languages.
We recommend turning off this option:
"Tools > Options > Debugger Options > Language Exceptions > Notify on Language Exceptions".

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form