I downloaded the free embedded visual c++ from microsoft.com and have tried to make a small app that just copies a file from one location to another, source code basically copied from a vc++ app.
I have main.h as an include file but when I try to complie the app i get an error about a missing header file- does embedded c++ not come with any?
Or what am I doing wrong?
You need the appropriate SDK - for EVC3 use the HPC 2.11 SDK. For EVC4, the standardsdk is proibably your best bet, however some stuff (such as control panel applet API defs) are missing from the standard SDK IIRC.
What do you mean by "I have main.h as an include file" ? That's not the header it's complaining about, is it? That's not a standard header file, and it's not clear to me why you'd be telling us you included it, because it does't matter what you call your header files.