I Get this error :
-------------------
--------------------Configuration: client - Win32 Release--------------------
Compiling...
stdinc.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
E:\MESDOCS\DC++ SOURCES\STL+\stl/_threads.h(120) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
E:\MESDOCS\DC++ SOURCES\STL+\stl/_threads.h(120) : see declaration of 'InterlockedIncrement'
E:\MESDOCS\DC++ SOURCES\STL+\stl/_threads.h(121) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
E:\MESDOCS\DC++ SOURCES\STL+\stl/_threads.h(121) : see declaration of 'InterlockedDecrement'
E:\MESDOCS\DC++ SOURCES\STL+\stl/_threads.h(122) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
E:\MESDOCS\DC++ SOURCES\STL+\stl/_threads.h(122) : see declaration of 'InterlockedExchange'
Error executing cl.exe.
client.lib - 3 error(s), 0 warning(s)
--------------------------
Can smbdy help me?
Overloded problem
Moderator: Moderators
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Re: Overloded problem
Both of the problems (InterlockedIncrement) and the Winver seem to point to you needing a new SDK. If you're using VS6, did you grab the current one? If you're using .NET or .NET 2003, you should've been fine...
Compte rendu
En fait j'ai VC6 et l'update que j'ai chopé est dans la mauvaise langue!
Mais en fait je crois que je vais attendre Visual .NET qui arrive...
Bref, j'ai chopé SDK et ca ne changeais rien, le pb se règlera donc avec la bonne update ou Visual .NET
Merci!
Mais en fait je crois que je vais attendre Visual .NET qui arrive...
Bref, j'ai chopé SDK et ca ne changeais rien, le pb se règlera donc avec la bonne update ou Visual .NET
Merci!
Re: Compte rendu
translationbens wrote:En fait j'ai VC6 et l'update que j'ai chopé est dans la mauvaise langue!
Mais en fait je crois que je vais attendre Visual .NET qui arrive...
Bref, j'ai chopé SDK et ca ne changeais rien, le pb se règlera donc avec la bonne update ou Visual .NET
Merci!
in faq, i have vc6 and the update, but the update is in the wrong language.
but i think that i will wait for .net, witch is on is way...
i got the SDK but it doesnt change anything, so the problem should be resolve with the good update or with .net version.
thanks
Still a problem
Sorry for french speaking and thanks for translation!
I got Visual .NET and my previous problem is gone. But I've got another problem yet : a linking error
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onSize(unsigned int,unsigned int,long,int &)" (?onSize@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
It must be nothing but I don't know what to do.
Please help!
I got Visual .NET and my previous problem is gone. But I've got another problem yet : a linking error
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onSize(unsigned int,unsigned int,long,int &)" (?onSize@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
It must be nothing but I don't know what to do.
Please help!
It should be included!
Thanks!
After having added StatsFrame and two other files needed as well, the build succeded!
It's allwright
After having added StatsFrame and two other files needed as well, the build succeded!
It's allwright