At Tue, 03 Nov 2015 17:30:38 +0300, Dmitry Pavlov wrote:
> Actually, extflonums in my 32-bit Windows installation
> are supported on the first sight. But as soon as I run an actual
> program, I get the following error message:
> 
> unsafe-extfllong_double_mult: unsupported on this platform
> 
> FWIW, my actual program is a C program that uses a Racket library
> obtained with raco ctool. I can provide you more details and a
> reproducible example if the above is not enough to hunt down
> the cause.

I think the problem is that "longdouble.dll" is not found by Racket as
embedded in your C program. As I recall, you're using some new support
to gather DLLs needed for an embedding, so probably "longdouble.dll" is
gathered into the right directory, but Racket isn't looking there when
trying to load it.

I think you'll need to call scheme_set_dll_path(), which should be
exported by the libracket DLL, but it isn't currently declared in
"scheme.h". Declare it with something like

 __declspec(dllimport) void scheme_set_dll_path(wchar_t *s);

and provide the path containing "longdouble.dll".

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to