`
free__eagle
  • 浏览: 13219 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
最近访客 更多访客>>
社区版块
存档分类
最新评论

his - dll

阅读更多
his -  dll

EDLLLoadError   =   class(Exception);

  TShowForm = function(istr:string;var a,b,c,d,e,f,g,h,i,j :string;
    var k :Integer):integer;Stdcall;
  function common_data(istr:string;var a,b,c,d,e,f,g,h,i,j :string;
    var k :Integer):integer;stdcall;external 'HisInterface.dll';

var
  frmHISManageCenter: TfrmHISManageCenter;  //HisInterface.dll


implementation

{$R *.dfm}

procedure TfrmHISManageCenter.dxBarButton13Click(Sender: TObject);
begin
  Close;
end;

procedure TfrmHISManageCenter.dxBarButton39Click(Sender: TObject);
var
  mainfrm,DllForm:THandle;
  ShowForm:TShowForm;
  testStr :string ;
  testint :Integer;
  a,b,c,d,e,f,g,h,i,j :string;
  k :Integer;
begin
   testStr := '[1|2]';
   testint := common_data(testStr,a,b,c,d,e,f,g,h,i,j,k);
  {mainfrm:=frmHISManageCenter.Handle;
  DllForm:=LoadLibrary('HisInterface.dll');
    Try
    begin
        if DllForm<>0 then
        begin
           @ShowForm:=GetProcAddress(DllForm,'common_data');
           ShowForm(mainfrm,'');
        end
        else
        begin
          RaiseLastWin32Error;
        end;
   end;
   Finally
       FreeLibrary(DllForm);
   end;    }

end;

procedure TfrmHISManageCenter.dxBarButton40Click(Sender: TObject);
var
    LibHandle:THandle;
    ShowForm:TShowForm;
    testStr :string ;
    testint :Integer;
    a,b,c,d,e,f,g,h,i,j :string;
    k :Integer;
begin
    testint := 2 ;
    testStr := '[1|2]';
    LibHandle   :=   LoadLibrary( 'HisInterface.DLL');
    try
        if   LibHandle   =   0   then
            raise   EDLLLoadError.Create( '不能装载动态链接库,请确认动态链接库的存在! ');
        @ShowForm   :=   GetProcAddress(LibHandle,   'common_data');
        if   not   (@ShowForm   =   nil)   then
            testint := ShowForm(testStr,a,b,c,d,e,f,g,h,i,j,k)
        else
            RaiseLastWin32Error;
        ShowMessage( IntToStr(testint) );
    finally
        FreeLibrary(LibHandle);   //   Unload   the   DLL.
    end;
end;
分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

    HIS接口DLL开发参考.pdf

    "HIS接口DLL开发参考" 这个文档主要介绍了HIS接口DLL的开发参考,用于山西省新型农村合作医疗信息系统与医院信息管理系统接口标准方案的实现。下面是从文档中提取的关键知识点: 1. HIS接口DLL的作用:HIS接口DLL...

    HIS接口DLL开发参考.docx

    HIS接口DLL开发参考.docx

    kafka-net.dll

    The wire protocol portion is based on the kafka-python library writen by David Arthur and the general class layout attempts to follow a similar pattern as his project. To that end, this project ...

    his厂商文件.zip_9J1_fsg_jbhis.dll_sicard.dll

    his厂商文件.zip_9J1_fsg_jbhis.dll_sicard.dll

    9HIS控件注册工具

    9HIS控件注册工具,用于DLL等的控件注册工具的

    ImpREC 1.7c

    - user32.dll is always read from the system, prevents a crash from corrupted PE of user32.dll (MaRKuS_TH-DJM) - Latest version of psapi.dll (6.0.6000.16386) included - Fixed Vista64 crash bug ...

    完整的HIS代码 (医院管理)

    具有主要功能.有以下模块:门诊,药房,药库,护士站,住院结算,系统维护.Software Requirements1. Delphi 6 SP22. Oracle 8i R33. Raize 3.0.94. ExpressQuantumGrid 4.505. ExpressPrinting System 2.506....

    pb9.0dll.exe

    pb9.0dll.exe 基础dll动态库 文件

    工作笔记-智能审核引擎

    Audit4Hospital.dll和Audit4Hospital.ini作为HIS一部分,存放到HIS根目录下,通过Audit4Hospital.dll来连接引擎。 3、和HIS开发商确认接口方案。 4、Demo、Audit4Hospital.dll、Audit4Hospital.ini、接口文档发给HIS...

    HIS医保接口设计规范.pdf

    1. 一般都提供 DOS 和 WINDOWS 两套方案,DOS 下一般用文件形式传递数据,WINDOWS 下一般以 WIN32 API 的形式在 HIS 和医保前置机之间调用和传递数据(DLL 提供了政策函数)。 2. 政策函数一般分为两类:单个函数和...

    eac3to V3.17

    v3.17 * updated libFLAC to version 1.2.1 * added a flush after every log line to help GUIs * "eac3to some.mpls" now also works if the stream files aren't there, anymore * fixed: number of subtitles ...

    MyLife Organized 3.5.9 破解版

    MyLifeOrganized Application ---------------------------- ...Thanks to Mark James for his Silk icon set we used in MyLifeOrganized application: http://www.famfamfam.com/lab/icons/silk/

    Senfore_DragDrop_v4.1

    Drag and Drop Component Suite Version 4.1 Field test 5, released 16-dec-2001 ?1997-2001 Angus Johnson & Anders Melander ... ------------------------------------------- Table of Contents: ...

    完整体检系统

    该系统完全符合医院的信息化需求并通过了医院的实际运作检验,不仅操作灵活、维护方便、功能强大,并实现了与国内多家医疗软件公司的HIS及LIS系统的相对接

    ICS delphixe10源码版

    ICS - Internet Component Suite - V8 - Delphi 7 to RAD Studio 10 Seattle ======================================================================= (Aka FPIETTE's Components) Revised: March 3, 2016 ...

    HIS系统与医保系统接口实现研究

    本文针对医保系统与HIS系统在数据方面存在的不同所带来的问题,提出构建医疗保险系统接口方案,从而实现医疗保险系统与管理系统之间的数据传输,并及时将相关的信息传递给医保中心,实现持卡就医与快速报销处理,更...

    Bochs - The cross platform IA-32 (x86) emulator

    Changes in 2.4.6 (February 22, 2011): Brief summary : - Support more host OS to run on: - Include win64 native binary in the release. - Fixed failures on big endian hosts. - BIOS: Support for up to...

    PSCAD4.2破解版

    The default distribution links with and uses CRTDLL.DLL, which is guaranteed to be on *every* W95/NT system shipped. If there's interest, 'll also upload the add-on to make it work with MSVCRT.DLL...

Global site tag (gtag.js) - Google Analytics