DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: webb123
今日帖子: 3
在线用户: 1
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/3/26 9:58:35
标题:
How create your DLL names to 32/or 64bits platforms automatically (see to Android, iOS, macOS) 浏览:691
加入我的收藏
楼主: library Project1;

uses
  System.SysUtils,
  System.Classes;

// ...

{$R *.res}
//
// automatically change the names when compiling in 32bits/64bits
//
// Define on "DPR" file:
//
{$IFDEF WIN32}
{$LIBPREFIX 'Hello_'}
{$LIBSUFFIX '_32bit_'}
{$LIBVERSION '_World'}
{$ENDIF}
//
{$IFDEF WIN64}
{$LIBPREFIX 'Hello_'}
{$LIBSUFFIX '_64bit_'}
{$LIBVERSION '_World'}
{$ENDIF}

//
// to another platforms see on HELP about "Compiler Directives"
// ....
begin

  // ...
end.
此帖子包含附件:
PNG 图像
大小:61.2K
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2023/3/26 10:50:04
1楼: DLL, EXE, etc..

{$EXTENSION 'MyNewExtForProject'}   =  'xxxxxx.MyNewExtForProject'
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 2cc (2cc) ▲▲△△△ -
普通会员
2023/3/26 13:12:58
2楼: good,thanks
----------------------------------------------
-
作者:
男 mynet (if) ★☆☆☆☆ -
盒子活跃会员
2023/3/29 11:23:26
3楼: nice! thank you ^_^
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行83.98438毫秒 RSS