Compile error....

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

asgaroth
Posts: 2
Joined: 2003-04-10 08:48

Compile error....

Post by asgaroth » 2003-04-10 08:55

I don't fiind a reply in the forum for my problem...


C:\Documents and Settings\Asgaroth\Desktop\dc++ hack backup\client\Util.cpp(431) : error C2039: 'wProductType' : is not a member of '_OSVERSIONINFOEXA'
c:\programmi\microsoft visual studio\vc98\include\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA'
C:\Documents and Settings\Asgaroth\Desktop\dc++ hack backup\client\Util.cpp(431) : error C2065: 'VER_NT_WORKSTATION' : undeclared identifier
C:\Documents and Settings\Asgaroth\Desktop\dc++ hack backup\client\Util.cpp(433) : error C2039: 'wProductType' : is not a member of '_OSVERSIONINFOEXA'
c:\programmi\microsoft visual studio\vc98\include\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA'
C:\Documents and Settings\Asgaroth\Desktop\dc++ hack backup\client\Util.cpp(433) : error C2065: 'VER_NT_SERVER' : undeclared identifier
C:\Documents and Settings\Asgaroth\Desktop\dc++ hack backup\client\Util.cpp(435) : error C2039: 'wProductType' : is not a member of '_OSVERSIONINFOEXA'
c:\programmi\microsoft visual studio\vc98\include\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA'
C:\Documents and Settings\Asgaroth\Desktop\dc++ hack backup\client\Util.cpp(435) : error C2065: 'VER_NT_DOMAIN_CONTROLLER' : undeclared identifier

who is it?

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-04-10 11:56

That's from trying to access a submember of ver that doesn't exist. It looks like ver is populated from the function GetVersionEx(). This is part of the Platform SDK, which indicates that you need to download a newer one from Microsoft. I just got the full SDK last weekend, it's 325mb (though I don't need it as VS.NET comes with one that works out of the box with DC++).

Find it here:
http://www.microsoft.com/msdownload/pla ... k-full.htm

asgaroth
Posts: 2
Joined: 2003-04-10 08:48

Post by asgaroth » 2003-04-10 12:06

Tnx for reply. I have download and install it but the problem is the same.....i have to configura visual c++ for use them?
tnx

Who is online

Users browsing this forum: Google [Bot] and 0 guests