Delphi 2007 Update4中的Bug列表

 

查看地址: http://dn.codegear.com/article/37483

以下是几个经常碰到的问题:

QC#ProjectArea
52256DelphiVCL/Core VCL Classes/TApplication
Description:Steps:
Taskbar button is not hidden when the MainForm is hidden and MainFormOnTaskbar is False.

任务栏按钮在设置MainFormOnTaskbar属性为False, 且主窗体被隐藏时并不会隐藏。
* File New VCL Application
* Drop a button on the form
* In the OnClick handler, enter "Hide;"
* View | Project Source
* Set Application.MainFormOnTaskbar := False;
* Run, click on the button
// Exp: The taskbar button is hidden
// Act: The taskbar button is still visible

QC#ProjectArea
52905DelphiRTL/Delphi/File Management
Description:Steps:

[QC Short Description]
FileExists does not work for open files with share_exclusive
FileExists函数返回值在判断已经用share_exclusive参数打开
的文件时返回错误,并且总是返回False
[QC Description]
The FileExists function does not work for files that are opened in SHARE_EXCLUSIVE mode (like the pagefile.sys).

FileExists('C:/pagefile.sys') always return False instead of True.
QC Entry 52905

1. Create a new VCL application
2. Write the following into the Form's OnCreate handler:

begin
if FileExists('C:/pagefile.sys') then
ShowMessage('OK')
else
ShowMessage('Failed');
end;

Expected:
A "OK" dialog is displayed

Actual:
A "Failed" dialog is displayed

 

QC#ProjectArea
51727DelphiRTL/Delphi/RTL Exceptions
Description:Steps:
[QC Short Description]
Halt in except block causes messagebox at program termination
在Except块中调用Halt会弹出MessageBox对话框
[QC Description]
If you call Halt in an except block, a message box pops up that shows the last exception. Even EAbort exceptions are shown.
In a console application it shows the exception in ErrOut.

The _Halt0 function should release the ExceptObject before entering the FinalizeUnits loop.
QC Entry 51727
1. Create a new VCL application 2. Add the following code to the OnCreate handler try Abort; except On E: Exception do Halt(1); end; 3. Start the application Expected: The application terminates Actual: The application shows "Exception EAbort in module Project4.exe at 00049F63. Operation aborted."

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值