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
_Z12DllTlsHandlev @ 1 NONAME ; DllTlsHandle()
_Z9AFunctionj @ 2 NONAME ; AFunction(unsigned int)