Hallo, wie werden bitte Float-Werte an die Dll übergeben.
Gefordert wird ja eine Long .
Habe das mit deiner Dll2Inc.exe erstellt.
Danke.
GRuss
Code
$MAKE CLE
Declare a&,b&,c&,d&
Def _FpuAdd(4) !"biglib","_FpuAdd"
Def _FpuAtoFL(3) !"biglib","_FpuAtoFL"
Def _FpuDiv(4) !"biglib","_FpuDiv"
Def _FpuFLtoA(4) !"biglib","_FpuFLtoA"
Def _FpuMul(4) !"biglib","_FpuMul"
Def _FpuSqrt(3) !"biglib","_FpuSqrt"
Def _FpuSub(4) !"biglib","_FpuSub"
a&=?
b&=?
c&=?
d&=&
Print _FpuAdd(a&,b&,c&,d&)
WaitKey
End
Alles anzeigen