I want to write a small proggie in C++ 5 (or 6). It should not have an interface, and it should not have MFC support or database support. All it has is the main function:

void main () {
// trivial code here
}

My program NEEDS to include a minimum of headers and stuff -- smaller is better!!!!!!!!! BUT, I need to perform a ShellExecute call in main, so what is the minimum number of header files I need for this?

I tried including <windows.h>, but I get an unresolved external ref or whatever. The problem is something to do with "Win16main" or something like that.

I am sure the answer is simple, but what am I doing wrong????