Re: OB 4.2.0: Shooting <winsock.h> trouble...

Dion Picco <[email protected]>
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
Hi Andr,

On Fri, Sep 17, 2004 at 02:44:33PM +0200, André Borrmann wrote:
> 
> Hello OB Users,
> 
> I'm using Orbacus on Windows (VC7) and recently update from version 4.1.3 to
> 4.2.0. The Orbacus developers have choosen to use <winsock2.h> instead of
> <winsock.h>, as you can see in OB/Net.h and OB/WinConfig.h. This can produce
> some trouble if you use another library which includes <winsock.h>, as it
> was in my case. You can walk around this problem if you rearrange the order
> of includes in your own files: the orbacus-includes first, the others
> afterwards...
> 
> Regards,
> 
> André

Thanks for the tip.  We've had other people have similar problems with
other include files as well.  I think the best practice to keep in mind
is to include the Orbacus headers first as a rule.  There may be
exceptions to this but usually this works out good.

Cheers.

-- 
Dion Picco, Software Engineer
IONA Technologies Inc.
Team Orbacus - Your CORBA Source
mailto:[email protected]
http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.