Jump to content
Nico Doe

Incompatible types: 'Winapi.WinSock.in_addr' and 'OverbyteIcsWinsock.in_addr'

Recommended Posts

please help...

i've problem fail to compile my source code with this error message :

[dcc32 Error] xxx.pas(190): E2010 Incompatible types: 'Winapi.WinSock.in_addr' and 'OverbyteIcsWinsock.in_addr'

Share this post


Link to post

Why do you have Winapi.Winsock in your uses?  It is not needed in any ICS applications, and is only used in one component, probably unnecessarily. 

 

Angus

 

Share this post


Link to post

Actually it's not mine.i've to continue my office project from programmer before me and I'm new to socket programming. 

i'll check again the source. Is there documentation or tutorial for ICS for beginner,it will help me lot. 

Thx u 

Share this post


Link to post
Quote

Is there documentation or tutorial for ICS for beginner

Not much. Have a look at the wiki: http://wiki.overbyte.be

And study the samples delivered in the distributions.

For the rest, you are welcome to ask here.

 

Share this post


Link to post
10 hours ago, Angus Robertson said:

Just remove Winapi.Winsock from uses then, your application should not need it.

 

Angus

error message gone after i comment

{uses

 WinSock;    }

 

thx u so much...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×