library dbinstall;
【程序编程相关:DBGrid中用光标键控制Cell 】{ important note about dll memory management: sharemem must be the 【推荐阅读:eMag-delphi 進展3 】
【扩展信息:一个很实用的Ehlib排序函数,适合AD】 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;... 下一页