Convert 4D Plugin (in C) to work with XoJo

Hi Robin,

Excellent!

I can see the version and planet info now.

Thank you!
John…

System.DebugLog and the Message panel is often used for quick-n-dirty checking/testing of code.
It’s just convenient :slight_smile:

Hi Robin,

I’m used to using a very robust debugger in 4D.

I just need to get used to how it works and what developer tools make life easier.

Appreciate,
John…

Hello Yan, i am curious to know how to build this example running under xojo 2015 (it’s my actual version).
i ha ve already installed visual studio 2022.
Any example about this subject ?
Regards.

1 Like

It shouldn’t be any different, but the older version possible fails to support ARM for Mac or Windows. Which means you would need an Intel version of all the software, for each platform.

John,

10:l that SE plugin implements the methods from the book Astronomical Algorithms by Jan Meeus. It is not difficult to recreate those in Xojo directly.

NB if you need help with the maths let me know as long ago I used to compute ephemerides for astro clubs and can still do this stuff. In addition there are a couple of key reference texts you may find useful which are not on the net.

Hi Nicholas,

No I use the Swiss Ephemeris API and have written code to wrap the calls into it. But that was some 10 years ago.

I need to understand how to organize the SE code and how to set up the Ddl/DynLib and rewrite those wrapper functions.

Could you help guide in setting up th DDL?

Thanks,
John…

Hi John,

Sorry no I’ve never dabbled in plugins. The Astro stuff I wrote purely in.Xojo, using Meeus’ book and the USNO supplement to the ephemeris.

The worst is the moon, with all the terms. The rest was relatively easy once you dive in deep.

Good luck !