DELPHI中创建调用DLL
来源:互联网 发布:数据库查找工具 编辑:程序博客网 时间:2024/04/29 02:56
一,新建
new->other->dll wizard
二,
library new;
uses
SysUtils,
Classes,
Dialogs;
{$R *.res}
procedure dll;
begin
showmessage('delphi');
end;
exports
dll;
begin
end.
三,保存,
四,project->build project
五,引用 :procedure dll; external 'new.dll';
{*********************************************
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure dll; external 'new.dll';
procedure TForm1.Button1Click(Sender: TObject);
begin
dll
end;
end.
**********************************************}
- DELPHI中创建调用DLL
- DELPHI创建并调用 DLL
- 在Delphi中调用DLL
- DELPHI中动态调用dll
- Java中调用Delphi编写的DLL
- 在Delphi中静态调用DLL
- Delphi中C++的DLL的调用
- Delphi 中DLL的调用技巧
- delphi中调用外部dll导出函数
- delphi中怎么调用vb的DLL
- Delphi中DLL的建立和调用
- delphi从dll中调用图片资源
- Java中调用Delphi编写的DLL
- Delphi中动态调用DLL的方法
- Delphi中动态调用DLL的方法
- Delphi中怎么调用vb的DLL
- delphi中创建和使用dll
- Delphi中DLL的创建和使用
- 派生类与继承
- 来转转
- Linux PAM 机制
- PinkNose -- 针对进程的网络数据截取
- 小钱也能创业吗?
- DELPHI中创建调用DLL
- 分布式事务故障处理
- 收入丰厚小白领 四步走实现创业梦晋升老板
- 重申差异决定了变化,最终解决老婆 IE崩溃问题
- WebGL样品与演示
- NS2学习(2)——看源码,学命令
- 浏览器加载、渲染和解析过程的黑箱分析
- 梦想起飞
- 如何免费推广自己的网站?