Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Using the mswsock.lib in BorlandC++ Builder

I am trying to make an internet app in BorlandC++ builder.

I added mswsock.lib to the makefile.

In the beginning of my unit I wrote:

__declspec(dllimport) Connect(int Port, char Ip);

But all I got is a linker error. Anyone who can give me a clue, how to do?

I am pretty sure there is a function called Connect but I suppose I didn't

declare it right. But how should I declare it? I also want to know how to

declare some other important functions in this lib.


  • Justin BibJustin Bib USAMember Posts: 0

    ________ / / free ebooks and video tutorials about / Delphi Swift R Perl Python Scratch Ruby Visual Basic .NET Go C JavaScript C++ Assembly Java Objective-C Visual Basic PL/SQL MATLAB C# PHP D Apex LabVIEW Scala Transact-SQL ML SAS Lisp Erlang Scheme Logo ABAP VBScript Rust COBOL Ada Julia Alice Awk Hack Kotlin FoxPro F# Prolog Crystal Bash Clojure Lua Dart Fortran / __

Sign In or Register to comment.