Re: [racket-users] Re: Loading foreign libraries on Windows

2019-02-12 Thread Alex Harsanyi
The only thing I can suggest than is to try to debug the problem. I would first try to use procmon from the sysinternals suite to determine what API calls are made when the library is loaded into Racket, which one returns an error and what are the parameters to that call. I would also use depe

Re: [racket-users] Re: Loading foreign libraries on Windows

2019-02-12 Thread Philip McGrath
As far as I can tell, yes. I've confirmed that the install script is getting Racket from https://mirror.racket-lang.org/installers/7.2/racket-7.2-x86_64-win32.exe -Philip On Tue, Feb 12, 2019 at 2:01 AM Alex Harsanyi wrote: > Do you have x64 Racket installed? This is an error that usually come

[racket-users] Re: Loading foreign libraries on Windows

2019-02-11 Thread Alex Harsanyi
Do you have x64 Racket installed? This is an error that usually comes up when a 32 bit application tries to load a 64 bit DLL. Alex. On Tuesday, February 12, 2019 at 2:18:55 PM UTC+8, Philip McGrath wrote: > > I'm encountering an issue using `ffi-lib` to load a DLL on Windows. The > problem app