Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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
Typhoor is currently offline  Typhoor
Messages: 12
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
Re: MAPIEx compilation problem in Win7 [message #40937 is a reply to message #40934] Thu, 10 October 2013 08:54 Go to previous message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Hello Typhoor

I did some changes many months ago that have not been uploaded because I was not sure about the final user interface.

Let me do it this weekend.


Best regards
IƱaki
Previous Topic: [SEMI-SOLVED] OfficeAutomation : How to Set Hyperlink to a Excel cell?
Next Topic: SysInfo update
Goto Forum:
  


Current Time: Thu Oct 21 06:29:59 CEST 2021

Total time taken to generate the page: 0.01934 seconds