当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: library DBInstall;{ Important no
 

 

    摘要:unit jisuanqiu; interface uses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, extctrls; type tform1 = class(tform) button1: tbutton; button2......
    摘要:我这有一个对当前页面的设置代码var mmm,nnn,aaa:olevariant;begin mmm:=wdline; nnn:=1; aaa:=wdfieldpage; wordapp.activewindow.activepane.view.seekview :=wdseekcurrentpageheader ; wordapp.selection.move(mmm,nnn); wordap......


通过InstallShield 还原数据库的DLL(DELPHI)

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;


...   下一页
    摘要:文/jorge如上述,本程序分为了接口层和算法层。上述全局变量和常量,基本都属于接口层的内容。下面,来看接口层的具体实现。其工作的第一步,是要捕获扫雷窗口并取得其信息。这由函数getminewindow来完成:=================================================================//试图取得可用的扫雷窗口,返回值表示是否成功。若成功,则全......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE