Hi :)
i have experienced a strange problem when rewriting a part of a
working program. The program uses some functions from winsock.h
library namely gethostname() (this part of the program is written in
C).  I have included
winsock.h into one of my source files, added the wsock32.lib to the
additional dependencies, just like i've done it before, the linker
does not complain but when the program tries to call gethostname() i
can't "step into it" (when debugging step by step) ... obviously the
function does not return any value, and the program crashes.

the funny part is that when i hover the cursor above the gethostname()
function( in the code where it is called) a small windows with the
function declaration pops out, but when i right click on it and click -
> go to declaration visual studio tells me that the function is not
defined.

I have never come across anything like this in my little experience
with visual studio, could anyone suggest a solution to my problem?

Any suggestions are welcome,
Thanks in advance

Karol

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to