×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

building a DLL in borland/ Help Building HALF-LIFE modification

building a DLL in borland/ Help Building HALF-LIFE modification

building a DLL in borland/ Help Building HALF-LIFE modification

(OP)
I need some help... how can I get Borland to make a mp.dll, here are the instructions off a web page.. Can you please explain how i can do this in borland.

How do I build the mp.dll file for multiplayer MODs?

   Download the SDK zip file from one of the above sources and unzip it to a
   directory of your choice.  If you are using Microsoft Visual C++, click
   on "File" then "Open Workspace" and browse to the directory where you
   unzipped the SDK.  Browse to the "dlls" folder and select the mp.dsw
   workspace file.  Click on "Open" to open the workspace.  Click on "Build"
   then "Build mp.dll" to build all the object files and the mp.dll file.
   When the mp.dll file is built, the last step of the build process will
   copy the mp.dll file to "\half-life\mp\dlls" (which probably doesn't exist
   on your machine).  To change this so that Microsoft Visual C++ copies the
   mp.dll file to your MOD directory, click on "Project", then "Settings"
   and scroll to the "Custom Build" tab.  Change the description to something
   like "Copying to dlls folder.".  Change the "Build commands" to "copy
   $(TargetPath) C:\SIERRA\Half-Life\Blastzone\dlls" (replacing Blastzone
   with the name of your MOD directory) and click on "OK".  If you click on
   "Build" then "Build mp.dll" again, it should copy the mp.dll to your MOD's
   dlls directory.

Thnx for the help im totaly lost

-Chris

RE: building a DLL in borland/ Help Building HALF-LIFE modification

    You didn't say what version of Borland you are using.

    Without seeing the SDK you are using, I am making a guess from the instructions that this is specifically for Microsoft's product. Did you see anything that would make you think this would work with Borland's C++? If so, what version?

James P. Cottingham

International Veneer Co., Inc.
All opinions are mine alone and do not necessarily reflect those of my employer.

RE: building a DLL in borland/ Help Building HALF-LIFE modification

(OP)
I am useing Borland C++ Builder 5.0, and the file that comes in SDK is a Microsoft Project... Is there no way I can open a microsoft project in borland?

thnx

RE: building a DLL in borland/ Help Building HALF-LIFE modification

    You can use MS DLL's in BCB but you have to convert them first. You may need to look at your help files for IMPLIB. The problem is that MS and Borland have different ideas on how DLL and OBJ files should look like. As a result, they are not fully compatable. The IMPLIB is the place to start.

    I have never ported MS files to BCB so I am not an authority on this. There is an article at www.bcbdev.com . Look under the Articles tab for Using Visual C++ DLLs in a Borland Project File.

James P. Cottingham

International Veneer Co., Inc.
All opinions are mine alone and do not necessarily reflect those of my employer.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close