Jump to content

tinyBigGAMES

Members
  • Content Count

    58
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by tinyBigGAMES

  1. tinyBigGAMES

    CPas - C for Delphi

    Correct.
  2. tinyBigGAMES

    CPas - C for Delphi

    Ahh, sweet!
  3. tinyBigGAMES

    CPas - C for Delphi

    Ok, then. I made CPas for the reasons I've described.
  4. tinyBigGAMES

    CPas - C for Delphi

    I made CPas becaue I found using C/C++ build system is too complicated. I just want to "use" the library and not mess about trying to figure out how to compile it. If, when you do get it compiled and stuff changes, you must go through the whole dreaded process again. Why can't it be as easy as using Delphi? So you think, but there is C++ Builder. Have you tried to compile open source libraries with it? The ones that I have tried, I could not get to compile, I end up having to use Visual Studio, which means you must install all of that. I just want to use the library, LOL. To use with Delphi, the sources would normally have to be compiled to a DLL, well you can make DLLs with CPas. You can make .EXEs, and .LIBs also. Like I said before, using CPas to compile these C99 libs is much easier. This was my motivation for making it. If you created a .LIB, it can be loaded from a stream, a resource etc. Now you do not have to have an extra DLL footprint in your distro if do not want to. Again, the flexibility, you can use it how you want to. If you need to compile some sources at runtime for a "scripting" scenario, well you can do that too. The possibilities, from an easy to use API.
  5. tinyBigGAMES

    CPas - C for Delphi

    That API allows you, from Delphi to compile C99 sources, or load in precompiled sources at runtime. As such, you have access to a lot of C99 libraries you can now, with ease take advantage of. It's small and fast, so it can be used as a scripting solution if you wish. You have access to the symbols, so code and data can be exchanged between Delphi and C. There are examples in the distro that demonstrates all these features. Think of it like using Lua from Delphi, it's just easier, cooler much more powerful. It leverages Tiny C Compiler for the backend code generation.
  6. tinyBigGAMES

    CPas - C for Delphi

    Started a curated repo of compatible libraries for CPas. 😍Pull requests welcome! https://github.com/tinyBigGAMES/cpLibs
  7. tinyBigGAMES

    CPas - C for Delphi

    Hi, yes that is correct. It generates 64-bit binaries only and therefore can only run on 64-bit windows and bind to 64-bit DLLs/Libs.
  8. tinyBigGAMES

    CPas - C for Delphi

    Version 1.2.stable released! 😯 Added updated existing examples to use new/updates functions cpGetVersionInfo, get version information cpSetVersionInfo, set version information cpGetAddVersionInfo, get add version info cpSetAddVersionInfo, set add version info Added cpGetExeIcon, get EXE icon filename Added cpSetExeIcon, set EXE icon filename Miscellaneous enhancements
×