Author Topic: AfxTime Library and Demo For Pelles C and LccWin32  (Read 76 times)

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 538
    • View Profile
AfxTime Library and Demo For Pelles C and LccWin32
« on: August 13, 2020, 07:01:20 PM »
James Fuller uploaded a library, originally part of a larger set of PowerBasic includes by Jose Roca.
James did a great job converting the PowerBasic source code to the BCX language.  However, James'
work can only be used when compiled as a C++ app.

I have converted James' work so that LccWin32 and Pelles C users can also use this nice library.
It also compiles using Clang++ and Mingw g++ and possibly will work with some other compilers.

Attached is my "C" version of AfxTime.bas and Demo.bas

Translate Demo.bas using BCX then compile to a console app using your preferred method.