I downloaded and installed Visual C++ EE yesterday. I'm trying to compile some OCX example code that came with a vendor library, and it's failing because "afxwin.h" can't be included. I did a search and neither than file nor "windows.h" exist on my machine.
What am I missing It's been a while since I've tried to write C++ on Windows machines, but aren't these headers fundamental Why aren't they installed with VC++ How can I get them and the other basic stuff needed to do development here What am I missing

afxwin.h missing? windows.h missing? What am *I* missing?
Alexander Medvedev
dic_brookes
http://msdn.microsoft.com/vstudio/express/visualc/download/
and the feature page linked (four times) from there doesn't give this kind of information. (There is a link to the PSDK download page, though I didn't understand the significance of that until later.)
By "bad luck" I meant specifically that I'm having a great deal of trouble trying to compile vendor example code for their OCX and I'm wondering whether part of the problem is that since this code is several years old, some of the features have since been deprecated in the latest VC++ (and therefore maybe I should try to find an older version). (The corresponding VB example code doesn't compile in the current version of VB either, which also adds to this feeling.)
Apparently MFC is somewhat deprecated, at least in the sense that it wasn't chosen for inclusion in EE, which I'd take as a sign that MS doesn't want newbies to use it anymore. Distributing the PSDK separately is actually a good move, I think, but initially frustrating for prior users of VC++ used to having it bundled along. Finally, in trying to work with this vendor OCX, I was able to add it to the "Toolbar", but it's grayed out there, for no apparent reason and with no explanation given, leading me to feel that this version of VC++ is somehow incompatible with it.
Some of this can be chalked up to the learning curve, but it seems awfully steep.
UMI20
What do you mean bad-luck What is included in Visual C++ EE is well documented. For example
http://msdn2.microsoft.com/en-us/library/hs24szh9.aspx
If you are just doing C++ programming then I would get Visual C++ Standard Edition - if you need support for other languages then I would get Visual Studio Professional Edition
hugo s
rayfusion
mta37
FreddyParra
The SDK for Visual C++ EE is available for free download at
http://www.microsoft.com/downloads/details.aspx FamilyID=484269E2-3B89-47E3-8EB7-1F2BE6D7123A&displaylang=en&Hash=8XQxtADLl8bKnNDG4HxHXgHk1xyMug9zwtShZJACrt2SrwpMEHVXpAGmi8MrB%2b2Xi4t9wH3oAuaYKj1QvnXp%2fQ%3d%3d#filelist
I'm in the process of downloading it right now. It comes in the form of about 18 files, 25 mb each. What a hassle.... but it's free!!
Zorweb
RajL
That is the platform SDK, is not just for the express edition (it's primarilly an update for older and competing compilers).
It indeed includes MFC, but most people prefer to not write user interfaces in MFC by hand and it doesn't include the designer
tovarish
Which version should I get Given my bad luck so far with Visual C++ 2005 Express Edition, should I try for an older version
I almost got my program working with the PSDK, but I'm having a missing library problem, which I'll put in a separate thread.
Trinix