Charles-Pegge / OxygenBasic

BASIC compiler. Run programs directly, or compile to 32/64 bit binary. Supports C headers and assembly code. Supports Unicode source scripts.
http://www.oxygenbasic.org
39 stars 10 forks source link

Libscriba embedding in O2 #11

Open ScriptBasic opened 6 months ago

ScriptBasic commented 6 months ago

Hi Charles,

I was able to get the 64 bit libscriba to embed in OxygenBasic with the ms64 calling method rather than cdecl like on 32 bit.

The only problem I'm having is O2 isn't returning doubles correctly. You can see the example on the AllBASIC.info forum. You are still a member of AllBASIC if you wish to reply there.

John

ScriptBasic commented 6 months ago

The issue is passing a double literal. Passing a double variable works.

I would like to find a solution to rebuilding our relationship. We have a lot of years working together.