473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Visual Studio .NET 2003\Vc7\include\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\include\vector(621) : error C2440: 'initializing' : cannot
convert from 'std::vector<_Ty>::iterator' to
'std::vector<_Ty>::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\include\vector(620) : while compiling class-template member
function 'std::vector<_Ty>::iterator
std::vector<_Ty>::insert(std::vector<_Ty>::iterato r,const _Ty & )'
with
[
_Ty=Network *
]

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

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

std::vector<Network *> 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 1873

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

Similar topics

1
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...
1
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....
0
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...
6
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:...
0
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...
1
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....
0
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...
0
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...
0
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...
10
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 ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
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...

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.