C++ Bindings

Started by
0 comments, last by Rebooted 17 years, 5 months ago
Hello Im not studying scheme in this workshop, but ill post my question here anyway since it is scheme related. If this is inappropriate please say so. How do i use a c++ function from a scheme application (developed in drscheme)? My goal is to use Windows API SendInput to lock the mouses position in our game. I havent found any functions to do so in drscheme, however i know very well how to do this from c++. Is there any such function in drscheme? If there isnt, how do i bind a c++ function to a scheme procedure. I know this is possible (sgl binds opengl functions etc) i just dont know how. Thanks in advance //Emil
Emil Jonssonvild
Advertisement
MzScheme has a Foreign Function Interface which you can use to interface to C code.

This topic is closed to new replies.

Advertisement