Go Back  Xtreme .NET Talk > .NET > Syntax Specific > Visual C++ .NET > Building simple winsock program


Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2004, 03:38 AM
tamtca tamtca is offline
Newcomer
 
Join Date: Jan 2004
Posts: 1
tamtca is on a distinguished road
Default Building simple winsock program

Hi there,

I would like to compile a simple winsock C program using VC++ .NET.

I have built/compiled that C program using VC++ 6.0 in the past. What I had to do is simply "select the "Project" --> "Settings" --> "Link" tab; then go to the Object/library modules and add wsock32.lib to the end of the line".

How can I work on that with the VC++ .NET.

Thanks.

Cheers,
Tam
Reply With Quote
  #2  
Old 02-01-2004, 06:53 AM
NK2000 NK2000 is offline
Centurion
 
Join Date: Jan 2004
Posts: 165
NK2000 is on a distinguished road
Default

dllimport attribute is the solution

http://msdn.microsoft.com/library/de...teTutorial.asp
Reply With Quote
  #3  
Old 02-13-2004, 01:54 PM
HJB417's Avatar
HJB417 HJB417 is offline
Contributor

Preferred language:
c#, c++, j#
 
Join Date: Mar 2003
Location: Lowell, MA
Posts: 609
HJB417 is on a distinguished road
Default

Follow the directions stated here
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building projects rbulph General 5 09-01-2006 07:49 AM
Simple program kelvindavies11 General 2 01-26-2005 10:53 AM
Building a calendar... wyrd Windows Forms 2 06-04-2003 08:05 PM
need help building a matrix please help tronracer General 1 03-17-2003 01:25 AM
VS .NET....Building the release Ymeaga1n General 2 01-05-2003 04:07 PM

Advertisement:

Powered by liquidweb