Creating dlls for various OS?

BlitzMax Forums/BlitzMax Beginners Area/Creating dlls for various OS?

Hello everybody,

how can I use a dll in BlitzMax under Windows (LoadLibraryA) and Linux as well? I guess Mac doesn't work and I have to rewrite that stuff.

Example...
The dll I want to write communicates over the RS232 to the hardware and returns the result to BM. Can I use the same library on both systems?

For Mac I have to find another way.

Greetings
Simon