I have read some things on how to set up Dev Studio 2008 to make a 64 bit app, but I can't make it work. I have created a basic win32 console app. The basic template it gives you when you add MFC support.

I then go to the configuration manager, select the platform which is set to win32. I select new and pick the x64 while copying everything from the win32 project settings.

Then I do a build and I get the linker error:

Error 1 fatal error LNK1104: cannot open file 'kernel32.lib'

I am sure there is something simple I am missing to fix this.