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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to