Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetComputerNameEx undeclared in a MFC App?

Status
Not open for further replies.

tguice

MIS
Joined
Jun 16, 2003
Messages
3
Location
US
If I just create a simple Win32 console app and include windows.h it works fine. Now I can't just include windows.h in the MFC app as that creates an error and I was under the impression that an MFC app would handle the windows.h include on it's own. I am using VC++ 6 with latest service pack and sdk. Any Answer as to why GetComputerNameEx is not working for me?
 
smacks forhead I just needed _WIN32_WINNT=0x0500.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top