[racket] Access c based dll through ffi

From: heraklea at gmx.de (heraklea at gmx.de)
Date: Thu Feb 14 04:23:15 EST 2013

Hello Matthew,

you are right. My RAcket is x64 but my dll is x86. That is the problem, but the errno are not so descriptiv. By the way, how can I make a printf in dll visible through rackets ffi. When I make this for my function

(define-dreamlog DisplayHelloFromDLL (_fun  -> (r : _void)))

and eval (DisplayHelloFromDLL)

I get nothing or I rewrite the function which returns a char or whatever, isnt it so?


Posted on the users mailing list.