Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Delphi OTA接口-AddPluginBitmap函数不显示标题_Delphi_Ota - Fatal编程技术网

Delphi OTA接口-AddPluginBitmap函数不显示标题

Delphi OTA接口-AddPluginBitmap函数不显示标题,delphi,ota,Delphi,Ota,当我在包中使用以下代码(Delphi OTA/IDE插件)时: 我在DelphiXE和Delphi2009中看到了文本“MyTestCaption”。但是,在Delphi2007中,标题不可见。“注册”一词可见,徽标也可见 有人知道我为什么看不到标题吗 unit uSplashRegister; interface implementation {$R SPLASHREGISTER.RES} uses Classes, Windows, Graphics, ToolsAPI,Desi

当我在包中使用以下代码(Delphi OTA/IDE插件)时:

我在DelphiXE和Delphi2009中看到了文本“MyTestCaption”。但是,在Delphi2007中,标题不可见。“注册”一词可见,徽标也可见

有人知道我为什么看不到标题吗

unit uSplashRegister;

interface

implementation

{$R SPLASHREGISTER.RES}

uses
  Classes, Windows, Graphics, ToolsAPI,DesignIntf;

ResourceString
  strSplashScreenName = 'MyTestCaption';

procedure AddSplashText;
var
  bmp: HBITMAP;
begin
  bmp := LoadBitmap(FindResourceHInstance(HInstance), 'LOGO');
  if assigned(SplashScreenServices) then
  begin
    SplashScreenServices.AddPluginBitmap(strSplashScreenName,bmp,false,'Registered');
  end;
end;


initialization
   AddSplashText;
end.