Using an AI assistant to migrate from API1 to API2

I have a very large Xojo project whose roots date back to RB over 20 years ago. It’s probably 90% API1 with a smattering of API2. It doesn’t use SQLite or any other Xojo-supported databases, which I’ve read can be problematic. I’m hoping to have Codex Plus move the project to API2. I’d like to hear from anyone who has used an AI assistant for this purpose, in particular what is the best approach to take and what gotchas should I look out for.

Check out this thread:

https://forum.xojo.com/t/has-anyone-used-ai-specifically-to-convert-api1-desktop-apps-to-api2

I recently learned that the latest Xojo will load and compile projects that still use the old classes - Window instead of DesktopWindow, Listbox instead of DesktopListbox, etc. So a reasonable first step I think is to do that and get your app to compile and run before attempting to update to the new classes. Apparently a project can even include old and new classes, although obviously not in the same window.

Thanks, I’ll check out that thread. I realize I gave the wrong impression, sorry about that. My project has roots that go way back, but it’s been actively maintained and improved on over the years, and runs perfectly in Xojo 2026R1.2