|
From: Slava P. <sl...@fa...> - 2007-04-19 19:34:21
|
Hi Doug,
I made some changes to the code in vm/. You will need to make a new
boot image. The main change is that on Windows CE the cd, cwd and os-
env primitives now throw errors instead of failing silently.
In default_image_path, we should be returning the path that contains
factor.dll, not the exe (GetModuleHandle(NULL)). I don't like how
this function is implemented either, it appears to be converting
Unicode back to ASCII. You can change the return value from char* to
F_CHAR*; then you will be able to return a Unicode string.
Also I think this function will work on Windows NT without
modification; right now os-windows-nt.c has
const char *default_image_path(void)
{
return "factor.image";
}
How about moving the CE default_image_path to os-windows.c?
Slava
|