又是一个关于GDI+的!

lxlsky 2007-07-09 08:23:01
我将GDIPAPI.pas,GDIPOBJ.pas,GDIPUTIL.pas,DirectDraw.pas,DXCommon.pas等pas文件拷贝到测试目录,新建一个工程,里面没有添加任何代码、控件仅仅ues了一下!
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, GDIPAPI, GDIPOBJ, GDIPUTIL;
就出现下列错误!!请问这是什么原因?该怎么解决!?


[Pascal Error] DirectDraw.pas(173): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(180): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(190): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(197): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(209): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(590): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(592): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Fatal Error] DirectDraw.pas(5650): F2063 Could not compile used unit 'DXCommon.pas'
...全文
154 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
阿发伯 2007-07-10
  • 打赏
  • 举报
回复
已经发送到你的邮箱,再试试
lxlsky 2007-07-10
  • 打赏
  • 举报
回复
多谢!已经搞定!!!
lxlsky 2007-07-09
  • 打赏
  • 举报
回复
lxlsky@sina.com
谢谢啦!!
阿发伯 2007-07-09
  • 打赏
  • 举报
回复
你的版本不对,把你的email告诉我,我发给你。

16,748

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 语言基础/算法/系统设计
社区管理员
  • 语言基础/算法/系统设计社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧