David T. Lewis wrote:
The easiest work-around for this is just to copy these two files: platforms/Cross/plugins/FilePlugin/FilePlugin.h platforms/Cross/plugins/SocketPlugin/SocketPlugin.h
into a directory for the OSPP: platforms/win32/plugins/FilePlugin/FilePlugin.h platforms/win32/plugins/SocketPlugin/SocketPlugin.h
Works now. Thanks for the hint.
One other thing you need to know: For Windows, there is a security feature in FilePlugin that causes several of the OSProcessPlugin primitives to fail. You can "fix" this by disabling the security function. Edit the file platforms/win32/vm/sqWin32HandleTable.h and disable the function IsHandleInTable() by having it just return a 1. I assume that this will void the warranty on your Windows VM ;) but as far as I know it will cause no problems for your own personal use.
I'm only developing the stuff on windows - so this shouldn't be a problem. Do I have to apply these patches for *nix as well?
CU,
Udo