加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

delphi 做了个DLL

发布时间:2020-12-15 09:57:50 所属栏目:大数据 来源:网络整理
导读:library Project2; { Important note about DLL memory management: ShareMem must be the ? first unit in your library's USES clause AND your project's (select ? Project-View Source) USES clause if your DLL exports any procedures or ? functions
library Project2; { Important note about DLL memory management: ShareMem must be the ? first unit in your library's USES clause AND your project's (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 ? SysUtils,? Classes,? Dialogs; procedure teststr(); stdcall; ? begin ? ? showmessage('pxb'); ? end; {$R *.res} ? exports ? ? teststr; begin end.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读