Thanks, I changed my code a bit and used {.dynlib.} and it worked! Here's the
code I'm using:
import math
proc square*(x: float64): float64 {.stdcall,exportc,dynlib.} =
return x * x
Run
- Calling stdcall from .dll lightern
- Re: Calling stdcall from .dll awr
- Re: Calling stdcall from .dll Ward
- Re: Calling stdcall from .dll awr
- Re: Calling stdcall from .dll lightern
- Re: Calling stdcall from .dll Rania_d
