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
_Z9AFunctionv @ 1 NONAME ; AFunction()
_Z3Incv @ 2 NONAME ; Inc()
_Z14GetProcessNamev @ 3 NONAME ; GetProcessName()
_Z13GetThreadNamev @ 4 NONAME ; GetThreadName()