12-18-2022, 02:46 AM
(12-16-2022, 07:25 AM)dbsoft Wrote: Sounds like an interesting project and should be doable, although I am not that familiar with Pascal, I haven't used it I was in high school.
Dynamic Windows for Mac itself I test on various machines from a 2021 MacBook Air Apple Silicon, 2017 MacBook Air Intel, 2013 MacBook Pro, 2008 Mac Pro, 2006 Mac Pro and a 2003 PowerMac G5.
For iOS I have only been testing with Big Sur and later targeting iOS 13. I started transitioning to using ARC... maybe the instructions are out of date... the code was ported from MacOS which supports Mac versions which do not support ARC, so the Mac code uses manual reference counting.
If you are using the version in revision control, perhaps you need to enable ARC, I'll double check and let you know... I am currently working on C++ bindings for Dynamic Windows, hoping to have a new release ready in the next month. If I need to do any fixes or documentation updates I'll get them ready ASAP.
Also it is possible to get your 2012 MBP working with Ventura using OpenCore Legacy Patcher. That is how I am running Ventura on my 2013 MBP.
https://dortania.github.io/OpenCore-Lega...ent-status
I've now built the littlest demo for Android using dw_messagebox. Still mucking around with CMake to get it to invoke the Pascal compiler instead of compiling my Pascal artefacts 'out of band'. The demo runs on emulator and my midrange phone.
For iOS, I got dw.m to compile by changing the two spots using weak references to using strong references. That allowed dwtest.c and dw.m to build together enough that I could run the demo on the iPhone simulator. The dwtree part crashed though, probably due to my changes. Now working on getting Pascal compilers for the iOS targets to build.
Thanks for the pointer to the legacy patcher! Hopefully it'll give my old MBP new legs.