Delphi Open Tools Api实例研究(一)[20]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 hkbarton 的 blog

 if imageindex1<>-1 then

 //如果在前面加载图标的工作出现异常就不释放图标,否则会释放到delphi本身使用的图标

  myntatest.fimagelist.delete(myntatest.imageindex1);

 inherited;

end;

 

initialization

//在组件第一次被安装时创建了tntatest

 myntatest:=tntatest.create;

finalization

//在组件被卸载时释放了myntatest

 myntatest.free;

end.

本文关键:OTA,Delphi,接口
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top