Fr0sT.Brutal 897 Posted March 14, 2022 On 3/11/2022 at 2:06 PM, David Heffernan said: So it's more geared towards looser coupling, a more scripting like approach. I guess if I know the external code I want to use at compile time then linking to a DLL in the classic fashion is generally preferable. For me the most promising feature is the ability to link C libs statically. I'd love to have self-contained Delphi EXEs with OpenSSL, for example. Share this post Link to post
David Heffernan 2307 Posted March 14, 2022 27 minutes ago, Fr0sT.Brutal said: For me the most promising feature is the ability to link C libs statically. I'd love to have self-contained Delphi EXEs with OpenSSL, for example. Distributing DLLs with an exe is really very trivial. Either in the same directory as the exe or a sub directory as an assembly using manifests. Linking .obj files to an exe is a tricksy business. You need to supply the C RTL and for complex libs that is often very hard to achieve. And then on x64 you have the longstanding bug that the Delphi compiler doesn't pick up pdata sections with the exception tables. So exceptions in the C code can just terminate the process. 1 Share this post Link to post
tinyBigGAMES 37 Posted March 18, 2022 CPas v1.3.stable released. Big update, code refactor, win32 support and much more. Reworked all examples to support 32/64-bits and more. • Reworked all examples to support 32/64-bits • Update cpLoadLibFromResource to include an instance (THandle) parameter • Added a runtime check to make sure CPas and CPas.Static are not used simultaneously • FPC can now build static releases also • Add CPas.Static unit now for static builds • Reformated CHM help format • Added cpCompile with project directives support • Replaced cpLoadLibFromStream with cpLoadLibFromMemory • Refactored codebase and added 32-bit support 😎 • Updated cpAddLibrary to support (.LIB) files • Updated cpSetVerionInfo to validate FileVersion as SemVer format (major.minor.patch) • Miscellaneous fixes and enhancements 1 Share this post Link to post
tinyBigGAMES 37 Posted March 18, 2022 On 3/11/2022 at 7:38 PM, Mark- said: I think it is interesting but we need 32 bit. Wish granted! 1.3 released, 32-bit support and more. Big update! Share this post Link to post
Mark- 27 Posted March 18, 2022 48 minutes ago, tinyBigGAMES said: Wish granted! 1.3 released, 32-bit support and more. Big update! Thank you. 1 Share this post Link to post
hsauro 35 Posted April 7 Out of curiosity I checked the original GitHub link, the page has vanished. Share this post Link to post
Mark- 27 Posted April 7 (edited) 1 hour ago, hsauro said: Out of curiosity I checked the original GitHub link, the page has vanished. Yeah that was the catalyst for posting here and the webpage of "tinyBigGAMES LLC" did not have it listed. I wonder if he sold his work. Edited April 7 by Mark- Share this post Link to post
tinyBigGAMES 37 Posted April 7 6 hours ago, Mark- said: Has this endeavor (CPas) ended? Hi, for now yes. I may revisit it in the near future. 1 Share this post Link to post