Not able use namespace system

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span id="_ctl0_MainContent_PostFlatView <span><span id="_ctl0_MainContent_PostFlatView <span>I am building an outlook Addin in Visual C++ (ATL).
The basic addin is working fine. I need to use HttpWebRequest to set cookies. Here I will need System namespace.
But, I am not able to use "using namespace system". it says "A namespace with this name does not exist". Similarly, i m not able to use <System.dll> or <mscorlib.dll>.

I tried to change Properties > Configuration Properties > General >  Common language Runtime Support as "/clr" but in this case I get two errors
1. error RA0000: Could not load file or assembly "name" or one of its dependencies.
2. error: PRJ0050Failed to register output. Please ensure you have appropriate permission to modify registry.

Well, I have admin previlledge. And, my addin is running on outlook if I do not use the namespace and do not change CLR.

So, how can I set my cookies (Which is my main Goal)..


Thanx
Satish

View the full article
 
Back
Top