如何使用Delphi 7进入RTL / VCL [英] how to step into RTL/VCL using Delphi 7

查看:211
本文介绍了如何使用Delphi 7进入RTL / VCL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用Delphi 7 IDE进行调试时,如何在程序文件/ borland / delphi7 / source文件夹中进入代码?听起来像一个愚蠢的问题,但是询问想要调试的头脑。 (不是我认为源的错误,我只是想知道为什么第九十次我不能分配一个TJpegImage到TjpegImage)。

解决方案

确保您在项目选项中启用了使用debug dcus选项,VCL源文件夹位于Debugger的源路径中。



关于为什么不能将TJPEGImage分配给TJPEGImage,通常只会在不使用运行时程序包的情况下尝试通过DLL边界传递TJPEGImage对象,因此应用程序和DLL正在进行内部比较RTL的不同副本,导致操作符(即: ASource是TJPEGImage )返回False报告True。


When debugging using the Delphi 7 IDE how can I step into code in the program files/borland/delphi7/source folder?

Sounds like a dumb question, but inquiring minds want to debug. (not that I think anything is wrong with the source, I just want to know why for the 9000th time I can't assign a TJpegImage to a TjpegImage).

解决方案

Make sure you have the "Use debug dcus" option enabled in the Project Options, and the VCL source folder is in the Debugger's Source path.

As for why you cannot assign a TJPEGImage to a TJPEGImage, that would normally only happen if you are trying to pass a TJPEGImage object across a DLL boundary without the use of runtime packages, thus the app and DLL are doing internal comparisons against different copies of the RTL, causing the is operator (ie: ASource is TJPEGImage) to return False where it would normally report True instead.

这篇关于如何使用Delphi 7进入RTL / VCL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆