Home » Developing U++ » UppHub » MAPIEx compilation problem in Win7
MAPIEx compilation problem in Win7 [message #40934] |
Wed, 09 October 2013 13:50 ![Go to next message Go to previous message](theme/default/images/down.png) |
Typhoor
Messages: 14 Registered: October 2012 Location: Erlangen, Germany
|
Promising Member |
|
|
Hi all,
I have problems with the compilation of MAPIEx_demo under Win7.
using MSC9 or MSC10 in Debug or Optimal, U++ v6406 and also before. Compiling other Bazaar projects including i.e. OfficeAutomation works fine...
I thing I remember that MAPIEx compiled months, years ago.
When compiling MAPIEx.cpp and exp. MAPIEx.h I get loads of header warnings and error in ws2def.h,winsock.h & ws2tcpip.h about redefinitions, unknown identifier, ...
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2def.h(91) : warning C4005: 'AF_IPX' : macro redefinition
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\winsock.h(460) : see previous definition of 'AF_IPX'
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2def.h(131) : warning C4005: 'AF_MAX' : macro redefinition
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\winsock.h(479) : see previous definition of 'AF_MAX'
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2def.h(168) : warning C4005: 'SO_DONTLINGER' : macro redefinition
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\winsock.h(402) : see previous definition of 'SO_DONTLINGER'
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2def.h(212) : error C2011: 'sockaddr' : 'struct' type redefinition
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\winsock.h(485) : see declaration of 'sockaddr'
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2def.h(390) : error C2059: syntax error : 'constant'
. . .
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2tcpip.h(664) : error C3861: 'WSASetLastError': identifier not found
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ws2tcpip.h(671) : error C3861: 'WSASetLastError': identifier not found
Does anybody know what needs to be done to get it compiled again?
Thanx in advance...
Ralph
|
|
|
Goto Forum:
Current Time: Sat Apr 27 14:40:10 CEST 2024
Total time taken to generate the page: 0.02967 seconds
|