473,804 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio .NET 2003\Vc7\includ e\vector(621) : error C244 confusion

Hello,

I am getting the following error using .NET 2003 and I wonder if
anyone can help me understand what is going on.

godcDoc.cpp(228 ) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data

C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\includ e\vector(621) : error C2440: 'initializing' : cannot
convert from 'std::vector<_T y>::iterator' to
'std::vector<_T y>::size_type'

with
[
_Ty=Network *
]
and
[
_Ty=Network *
]

No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called

C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\includ e\vector(620) : while compiling class-template member
function 'std::vector<_T y>::iterator
std::vector<_Ty >::insert(std:: vector<_Ty>::it erator,const _Ty & )'
with
[
_Ty=Network *
]

godcDoc.cpp(136 ) : see reference to class template
instantiation 'std::vector<_T y>' being compiled
with
[
_Ty=Network *
]

It seems to be happening when the following lines are commented in.

std::vector<Net work *> both;

both.push_back( &m_iNetwork) ;

Network is quite a complicated class that contains a lot of pointers
to things but all the #includes / forward declararions are in place.

Any help VERY much appreciated.
Nov 16 '05 #1
0 1904

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

Similar topics

1
1397
by: YAQ | last post by:
Hi, I'm new to .Net, coming from J2EE. I have just installed Visual Studio and am trying to start a new web application, but am having trouble. For example, when I complete the following steps: 1. New Project>Visual C# Project>ASP.Net Web Application 2. Location: http://localhost/TestWebApp
1
1460
by: Jodie Schau | last post by:
After installing Visual Basic.NET and trying to open the applicaion, I get the following error message: Visual Basic.NET is unable to start because the file devenvngi.xml is missing or corrupted. To correct this problem, copy devenvngi.xml from your setup location to the following folder in your installation directory... I have searched my entire computer & cannot find this file. Does anyone know what this error means or where I can...
0
1001
by: Alan S | last post by:
I am getting an error taht says Visual Studio.Net has detected that the specified webserver is not running ASP.Net 1.1. However, I have made sure that everything is setup and I even found a technet article on aspnet_regiis.exe and made sure that everything is setup exactly as another machine that works just fine with IIS. Any configuration information with Visual Studio I am not aware of? Any other IIS or system configs, registry...
6
1325
by: Gummy | last post by:
Hello All, I know this has been posted many times, but I cannot seem to find the solution in all the many, many, searches I've done. Whenever I try and create a new project I get the error: 'http://localhost/webapplication1.' 'HTTP/1.1 500 Internal Server Error.' Here's what I've done so far:
0
850
by: Maxim Kazitov | last post by:
Hi, I experience strange problem. I have : Windows 2000 Pro + IIS 5.0 + .Net Framework 1.1 + MS Visual Studio 2003. In some moment I install SQLXML 3.0 after this all work fine (Asp.Net applications & SQLXML applications). But I can't open any Web projects in Visual Studio. Error message : The Web server reported the following error when attempting create or open
1
1890
by: harris_cohen | last post by:
All of a sudden I started receiving the following error when I try to load my VB.Net project: An error ocurred while loading the document. Fix the error, and then try loading the document again. The error message follows: Failed to parse method 'InitializeComponent' The parser reported the following error 'Exception of type System.OutofMemory was thrown.' I have checked the following:
0
1140
by: Johnny Jörgensen | last post by:
I'm doing a Visual Studio Add-In, and I had added an icon (let's say "MyIcon.ico") to the project resources to use it as icon for the Toolwindow tab. Then I decided I didn't want to use that icon anyway, so I removed it and added "MyBetterIcon.ico" instead. So far so good. When I debug run my Add-in projekt, the tab shows "MyBetterIcon" as I want it to.
0
1548
by: =?Utf-8?B?Sm9l?= | last post by:
Very weird; I lost a day worth of work because of this problem. I have an ASP.NET application written in VB that is using MySQL database. Shortly, a page creates a Customer record in the database and if successful, creates a directory on the web server. I was using Transaction Scope to accomplish this action; here is the code excerpt: ' Initialize the return value to zero Dim returnValue As Integer = 0
0
7400
by: hi4murali | last post by:
Facing a strange error in MS SQL Management Studio 2005, when trying to open a new query window, open a table to view data or even run and existing SQL query file. The error text is: An error occurred while executing batch. Error message is: The directory name is invalid. After initial investigation, found that this error is thrown when we execute an existing sql query file with the Results To Grid option is set and does not occur if the...
10
19764
shoonya
by: shoonya | last post by:
Hi, I am bit new to visual studio. I am having following error while building the project. LDR: LdrpWalkImportDescriptor() failed to probe abc.dll for its manifest, ntstatus 0xc0150002 abc.exe': Loaded 'C:\WINDOWS\incops3\ICDCNL.dll', Binary was not built with debug information. What should I do in this case.
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9593
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
9169
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7633
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
6862
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
5529
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
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.