473,805 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in VC. Net 2003

Dear All,

I have a problem when I am using VC .Net 2003.

I want to add a "include path" in VC .Net Directory Path. But after I add
the 37th path into it, the VC become "lost path", VC cannot open system
default header file, such as "afxwin.h" during compilation (but it can be
when it only contain 36 paths).

How should I do if I want to add more?

Thanks,
Kevin Tang.

Nov 17 '05 #1
5 1376
"=?Utf-8?B?S2V2aW4gVGF uZw==?="
<Ke*******@disc ussions.microso ft.com> wrote in
news:7A******** *************** ***********@mic rosoft.com:
I want to add a "include path" in VC .Net Directory Path. But
after I add the 37th path into it, the VC become "lost path", VC
cannot open system default header file, such as "afxwin.h"
during compilation (but it can be when it only contain 36
paths).


Are you adding this to the project include path (in project
properties) or to the general include path (in Tools Options)? Can
you check the build log to see if the /I are not passed to the
compiler at all and if the INCLUDE environment variable does not
have all the paths you added?

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #2
I include all path in general include path ( Tools / Option / Project / VC
Directory ).

Thanks,

Kevin Tang.
"Tarek Madkour [MSFT]" wrote:
"=?Utf-8?B?S2V2aW4gVGF uZw==?="
<Ke*******@disc ussions.microso ft.com> wrote in
news:7A******** *************** ***********@mic rosoft.com:
I want to add a "include path" in VC .Net Directory Path. But
after I add the 37th path into it, the VC become "lost path", VC
cannot open system default header file, such as "afxwin.h"
during compilation (but it can be when it only contain 36
paths).


Are you adding this to the project include path (in project
properties) or to the general include path (in Tools Options)? Can
you check the build log to see if the /I are not passed to the
compiler at all and if the INCLUDE environment variable does not
have all the paths you added?

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.

Nov 17 '05 #3
"=?Utf-8?B?S2V2aW4gVGF uZw==?="
<Ke*******@disc ussions.microso ft.com> wrote in
news:A2******** *************** ***********@mic rosoft.com:
I include all path in general include path ( Tools / Option /
Project / VC Directory ).


I tried to reproduce this but I could not. Can you set the option to
dump the environment in the build log then look at the build log to
see what the INCLUDE env variable is set to? Did you exceed the
environment size?

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #4
I try to log the environment into BuildLog.htm file.

After I add the 37th include path in Tool/Option/Project/VC Directory, all
my program cannot be build, and has the follow error message.

C:\SomePath\Pro ject\stdafx.h(3 1) : fatal error C1083: Cannot Open Include
File: 'afxwin.h': No such file or directory

I check the BuildLog, all the path already included in the environmeny.

How should I do now?

Thanks,
Kevin Tang.

"Tarek Madkour [MSFT]" wrote:
"=?Utf-8?B?S2V2aW4gVGF uZw==?="
<Ke*******@disc ussions.microso ft.com> wrote in
news:A2******** *************** ***********@mic rosoft.com:
I include all path in general include path ( Tools / Option /
Project / VC Directory ).


I tried to reproduce this but I could not. Can you set the option to
dump the environment in the build log then look at the build log to
see what the INCLUDE env variable is set to? Did you exceed the
environment size?

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.

Nov 17 '05 #5
"=?Utf-8?B?S2V2aW4gVGF uZw==?="
<Ke*******@disc ussions.microso ft.com> wrote in
news:6E******** *************** ***********@mic rosoft.com:
After I add the 37th include path in Tool/Option/Project/VC
Directory, all my program cannot be build, and has the follow
error message.

C:\SomePath\Pro ject\stdafx.h(3 1) : fatal error C1083: Cannot
Open Include File: 'afxwin.h': No such file or directory

I check the BuildLog, all the path already included in the
environmeny.


So the "INCLUDE" environment variable has the correct path. The
path has afxwin.h. Yet the compiler cannot find afxwin.h?

Can you post the contents of the INCLUDE environment variable
before and after you add the offending 37th include path?

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3757
by: Stephan & Saori | last post by:
I found a "weird" problem running windows 2003 Server. Maybe it's a know problem but I just wanted to make sure everyone knows. When running explorer to find the directories on my hard disk. It's very, very fast with the exception of 1 folder. I know it's an accident but it happens to be the JDK folder. I could reproduce this stupid behavior on different boxes running 2003 server. Does anyone knows that "virus" from Microsoft...
5
1866
by: Dave | last post by:
I am working with a proprietary database that records the date, time, location, and speed of a vehicle. It is pulling this information from GPS unit tied to a vehicle. The table is populated with values that are pulled from the GPS unit every 30 seconds. I need to find the duration of time for when a vehicle is stopped. I have created a cursor that runs though all of the tables, and gathers the data for when the vehicle's speed is equal to...
5
7423
by: Clifford W. Racz | last post by:
Has anyone solved the issue of translating lists in Word 2003 (WordML) into xHTML? I have been trying to get the nested table code for my XSLT to work for a while now, with no way to get the collection that I need. To begin, I am using xsltproc that conmes with Cygwin as my processor. I have no particular affinity to this processor except that it is open source and standards compliant. I don't like M$, but if using a M$ processing...
1
2180
by: Rafael Campana | last post by:
Hi, I posted the messsage below last week, but no replies, I've reproduced the problem with a VB macro, just create one and paste the following code. Let me know of any workarounds you can think of. thanks, -R a f i ' add reference to Microsoft.VisualStudio.VCProjectEngine
0
1397
by: Anil0920 | last post by:
I have a very serious problem which really needs to be solved. We had a huge number of projects in 2002 that we recently converted to VS.NET 2003. The conversion was smooth and all is working well. How-ever when we make any change to a form and save the form using VS.NET 2003, it reorganizes all form elements and the width / height of text boxes get changed, making it look very different from the way it looked before. The problem...
2
1560
by: Andrew Rawnsley | last post by:
Downloaded the eRServer 1.2 source (thanks, guys) and installed, and am having a problem. Anyone else dug into this yet? Situation: PG 7.3.4 on linux (master) Its been tried with 3 slaves, all 7.3.4, 2 on OS X and one on Linux. It builds fine. It installs fine. I go through the setup with no problems (calling createlang, doing the initial ers_setup, adding
0
1651
by: Rajesh Kumar | last post by:
Hi Gregory Thanks for your answer. I did not see any attached file so I copied your text into a text file and named it compiler.bat Checked the wrapped lines and runned the file. It said Dataset, Datareader and some other things are not defined. So I entered the : Imports Microsoft.ApplicationBlocks.Data Imports system Imports system.data Imports System.Data.SqlClient
0
3369
by: Rajesh Madhra | last post by:
Hi Gregory Thanks for your answer. I did not see any attached file so I copied your text into a text file and named it compiler.bat Checked the wrapped lines and runned the file. It said Dataset, Datareader and some other things are not defined. So I entered the : Imports Microsoft.ApplicationBlocks.Data Imports system Imports system.data Imports System.Data.SqlClient
2
2633
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself is not able to access a specific network resource and I just can't figure out why. First of all, let me say this worked fine with IIS running on Win2000 Server. This has not worked since I upgraded to Windows Server 2003. My Platform: Windows...
8
3427
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be added. Converting the type library to a .Net assembly failed. A depended type library 'CDO' could not be converted to a .NET assembly. A dependent type library 'ADODB' could not be converted to a .NET assembly. Item has already been added." ...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10360
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10105
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5542
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3845
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.