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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

namespace error

Status
Not open for further replies.

tuzojazz

Programmer
Dec 26, 2005
58
MX
Hi

I'm writing an activex and I want to include the namespaces "System" and "Microsoft::Win32" into my control window class .cpp file.

I'm writing these lines:

using namespace System;
using namespace Microsoft::Win32;


When I compile I get these errors

error C2871:'System': does not exist or is not a namespace
error C2653:'Microsoft':is not a class or namespace name
error C2871:'Win32': does not exist or is not a namespace

What could be wrong?
What can I do?

Thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top