I can't recall for certain but I may have run across this when the dll was
compiled as 32 bit but Racket was 64 bit.

Deren
On Jan 16, 2015 12:25 AM, "Lehi Toskin" <l...@tosk.in> wrote:

> On Thu, 15 Jan 2015 18:55:41 -0700, Matthew Flatt wrote:
>
> > At Thu, 15 Jan 2015 22:10:35 +0000 (UTC), Lehi Toskin wrote:
> >> I am attempting to use this C library I've written with the Racket FFI,
> >> but (ffi-lib "mylib") reports "The specified module could not be
> >> found.;
> >> errno=126". This only happens on Windows. On Linux the library gets
> >> loaded properly and I can use it fine. What could be the problem?
> >
> > Can you say more about where "mylib.dll" is located in your Windows
> > installation --- and maybe also where it's located on Linux, for
> > comparison?
> >
>
> I actually have the library in the same directory as the script for both
> platforms. I've tried "mylib", "mylib.dll" and even permutations of "path/
> to/lib/directory/mylib".
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
>
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to