This has been posted by me a while ago on NTDEV. I have slightly modified it for the blog.
If you tell BUILD from the WNET DDK to use the W2K settings to build a native application this fails with the reason that _NtProcessStartupForGS@4 could not be resolved. It does not matter whether you try to set UMENTRYABS in the SOURCES file, the problem persists. After some investigation I found that the file i386mk.inc enforces buffer overflow checking by linking against bufferoverflow.lib! Continue reading