欢迎光临
我们一直在努力

如何将c/c++程序转译成delphi(十五)_delphi教程

建站超值云服务器,限时71元/月

8. The Jedi Common Support Unit

unit JediUtil;{==========================================================}{ Jedi Common Support Unit                                 }{==========================================================}interfaceUSES WinTypes,     WinProcs;{———————————————————-}{ Function JediCheckInstanceHandle                         }{                                                          }{ Parameter:                                               }{                                                          }{   hInst: Instance Handle                                 }{                                                          }{ Returns-Value:                                           }{   TRUE if the handle is valid, FALSE if not              }{———————————————————-}Function JediCheckInstanceHandle (hInst: THandle): Boolean;implementationFunction JediCheckInstanceHandle (hInst: THandle): Boolean;begin  {$IFNDEF WIN32}  Result := hInst > HINSTANCE_ERROR;  {$ELSE}  Result := hInst <> 0;  {$ENDIF}end;end.终于贴完了!!

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 如何将c/c++程序转译成delphi(十五)_delphi教程
分享到: 更多 (0)

相关推荐

  • 暂无文章