Can't get the kernel start-up code to work using VC8 compiler. It crashes while trying to run constructStatics. Maybe I will try my luck with GCC from MinGW, that should also make the Linux port much easier.
EXPORTS
Init @ 1 NONAME
FunctionCount @ 2 NONAME
CallFunction @ 3 NONAME
SetClose @ 4 NONAME