delphi 做了个DLL

delphi 做了个DLL,第1张

概述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 DL 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. 总结

以上是内存溢出为你收集整理的delphi 做了个DLL全部内容,希望文章能够帮你解决delphi 做了个DLL所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1275361.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-08
下一篇 2022-06-08

发表评论

登录后才能评论

评论列表(0条)

保存