After taking away a pre declaration of 3 classes in Socket.h the first problem with .NET compilation goes away:
In Socket.h:
//class CCXX_CLASS_EXPORT TCPStream; //class CCXX_CLASS_EXPORT tcpstream; //class CCXX_CLASS_EXPORT TCPSession;
But when the linking starts I get another error:
CCXX error LNK2001: unresolved external symbol "long __stdcall InterlockedExchange(long *,long)" (?InterlockedExchange@@YGJPAJJ@Z)
So to summarize, .NET is not CommonC++ compliant yet (or is it the other way around?) ;-)
/Anders
Log in to post a comment.
After taking away a pre declaration of 3 classes in Socket.h the first problem with .NET compilation goes away:
In Socket.h:
//class CCXX_CLASS_EXPORT TCPStream;
//class CCXX_CLASS_EXPORT tcpstream;
//class CCXX_CLASS_EXPORT TCPSession;
But when the linking starts I get another error:
CCXX error LNK2001: unresolved external symbol "long __stdcall InterlockedExchange(long *,long)" (?InterlockedExchange@@YGJPAJJ@Z)
So to summarize, .NET is not CommonC++ compliant yet (or is it the other way around?) ;-)
/Anders