Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Cannot work in vs2008 and objectarx 2010 environments

463017170
Advocate

Cannot work in vs2008 and objectarx 2010 environments

463017170
Advocate
Advocate

test.png

0 Likes
Reply
Accepted solutions (1)
117 Views
2 Replies
Replies (2)

tbrammer
Advisor
Advisor
Accepted solution

The compiler errors refer to WS2tcpip.h which is a Windows header - not ObjectARX.

Maybe this article helps. It suggest to either include winsock2.h before WS2tcpip.h

#include <winsock2.h>
#include <ws2tcpip.h>

or define WIN32_LEAN_AND_MEAN in your project settings or at the beginning of stdafx.h.

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

 


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes

463017170
Advocate
Advocate

 Thank you very much

0 Likes