library dbinstall;
【程序编程相关:怎么样知道硬盘上有哪几个分区或者指定的分】{ important note about dll memory management: sharemem must be the 【推荐阅读:delphi的调用约定】
【扩展信息:Delphi中的布尔类型】 first unit in your librarys uses clause and your projects (select project-view source) uses clause if your dll exports any procedures or functions that pass strings as parameters or function results. this applies to all strings passed to and from your dll--even those that are nested in records and classes. sharemem is the interface unit to the borlndmm.dll shared memory manager, which must be deployed along with your dll. to avoid using borlndmm.dll, pass string information using pchar or shortstring parameters. }uses
comserv, sysutils, classes, forms, ufrmmain in ufrmmain.pas {frmmain};{ open the mainform, the entertance of library}
function openform():integer; stdcall; var frmmain: tfrmmain; begin frmmain:=tfrmmain.create(nil); frmmain.showmodal(); result:=0; frmmain.free; end;... 下一页