导航:
论坛 -> DELPHI技术
斑竹:liumazi,sephil
作者:
2023/3/26 9:58:35
标题:
How create your DLL names to 32/or 64bits platforms automatically (see to Android, iOS, macOS)
浏览:488
加入我的收藏
楼主:
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.
此帖子包含附件: 大小: 61.2K
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
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 ^_^
----------------------------------------------
-