To make a UserLib

Blitz3D Forums/Blitz3D Beginners Area/To make a UserLib

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi, Darklordz

I want to write an astronomical/scientific calculator to work planitary orbital predictions far into the future.

No two circuits of an orbit are the same since each time round, all the gravitational influences are slightly different and the solar wind density fluctuates.

I need to be able to input real distances in meters and velocities in fractions of a meter per second.

Results are required to be extremely accurate at each step to avoid errors accumulating.

Cosines must be correct to millionths of a degree.

I can't afford Mathmatica so I want to write my own.

The great thing about BlitzPlus is that it makes application creation quick and easy.

The drawback is that it can't do two mission-critcal things:

detect all keypresses in text gadgets and do accurate numbers.

In C, "a long double" (which is what I need) occupies 80bits of RAM.

The best Blitz can do is 32bits - nowhere near the circumference of Pluto's orbit in meters or how many seconds that would take (to the nearest second).

Anyway, I've now got the latest version of Dev-C++ and I've been searching for an example of a working set of source files for a DLL.

I have not so far found any and I do not know how to make a .dll file.

Neither do I know how to present a string to one or how to receive a string from one.

I don't suppose you could let me in on the secret?

Thanks for reading this, at least :-)