473,473 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error upgrading from VC7.1 to VC8 C2039: 'vt' : is not a memberof 'tagVARIANT'

Hey everyone.

I'm just trying out some of our code to see if it is even possible to
think about moving to VC8.

Apart from a few minor problems in our stuff (to do with wrong for loop
scoping and deprecated function calls) most of our projects build fine.

However one small but incredibly important dll won't build.

It spits out hundreds of warnings similar to the following

c:\program files\microsoft visual studio
8\vc\atlmfc\include\atlcomcli.h(443) : error C2039: 'vt' : is not a
member of 'tagVARIANT'
c:\program files\microsoft visual studio
8\vc\platformsdk\include\oaidl.h(424) : see declaration of 'tagVARIANT'
Any ideas what could be causing them - the project builds just fine in
VC6 and VC7.1

Cheers in advance,

Argos

Nov 17 '05 #1
3 3785
It is just possible that I have had a similar problem to you, if you search
for atlcomli
now you will find the post
'Visual studio 8 cannot convert project that uses atlcomcli.h'
Nick.

"test" wrote:
Hey everyone.

I'm just trying out some of our code to see if it is even possible to
think about moving to VC8.

Apart from a few minor problems in our stuff (to do with wrong for loop
scoping and deprecated function calls) most of our projects build fine.

However one small but incredibly important dll won't build.

It spits out hundreds of warnings similar to the following

c:\program files\microsoft visual studio
8\vc\atlmfc\include\atlcomcli.h(443) : error C2039: 'vt' : is not a
member of 'tagVARIANT'
c:\program files\microsoft visual studio
8\vc\platformsdk\include\oaidl.h(424) : see declaration of 'tagVARIANT'
Any ideas what could be causing them - the project builds just fine in
VC6 and VC7.1

Cheers in advance,

Argos

Nov 17 '05 #2
Nick Thompson wrote:
It is just possible that I have had a similar problem to you, if you search
for atlcomli
now you will find the post
'Visual studio 8 cannot convert project that uses atlcomcli.h'
Nick.


Thanks Nick - I'll have a look and see if I can work out what to do from
there!

Argos

Nov 21 '05 #3
Nick Thompson wrote:
It is just possible that I have had a similar problem to you, if you search
for atlcomli
now you will find the post
'Visual studio 8 cannot convert project that uses atlcomcli.h'
Nick.


Nope that wasn't it :-(

But I have found out what it was! :-)

I compared the project settings with our projects that were building and
found that it had two extra macros defined

_USRDLL
__STDC__

I removed them and the project built and worked just fine.

Thanks for the help,

Argos

Nov 24 '05 #4

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

Similar topics

6
by: M. Faust | last post by:
Hi, after having installed F2PY-2.43.239_1806 I get the following error when trying to run the hello.f example from the /docs directory: f2py.py --fcompiler=compaqv -c -m hello hello.f...
2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
2
by: PeterL | last post by:
Hi, the enclosed code loops through a recordset for time and date. and printing out name and volym if certan conditions are met. <% dat = "" tp = "" vt = 0 et = 0 vd = 0 de = 0
5
by: Yoon-Soo Lee | last post by:
I am using Visual C++ .NET 2003 and running into some linking error from the following template code. The error messages is error LNK2019: unresolved external symbol "class...
0
by: hn | last post by:
hi! when querying ad (win2k) i keep getting the error "Handling of this ADSVALUE type is not yet implemented (type = 0xb)." but the funny thing is that i only get in with certain properties...
0
by: Shashikiran Prabhakar via .NET 247 | last post by:
(Type your message here) Hi, I am not very conversent in VC++, but the requirement for me is to run a rendering code. However i am encountering the following errors. c:\Program...
11
by: CJM | last post by:
I need to be able to determine if the user is a member of a given AD group. I have a method of doing this, but it is not suitable for 64bit OS's, so I need to find an alternative route. I actually...
2
by: Nick | last post by:
I'm learning C++ and ran into a compile error using Visual C++ 2005 Express on the following example program (located at http://www.cplusplus.com/doc/tutorial/templates.html): // template...
0
by: yyuan168a | last post by:
I'm upgrading a VS2003 project to VS2005 but got bunch of C2039 errors in xutility.h file during compiling: :\Program Files\Microsoft Visual Studio 8\VC\include\xutility(610) : error C2039:...
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.