A little help with coding... Created 18 years ago2005-09-12 14:05:39 UTC by Daubster Daubster

Created 18 years ago2005-09-12 14:05:39 UTC by Daubster Daubster

Posted 18 years ago2005-09-12 14:05:39 UTC Post #134263
Hi, everyone!

I just started coding for HL, found some nice tuts. Now I made the additions to the source files (.h and .cpp), everything fine.
Just one problem: How to compile them to .dll files? I use Borland C++ builder 6 to edit the code and they only show, how to compile things into .dll with Visual C++ in the tuts.

So how do I compile .h and .cpp files into .dll files with Borland C++ Builder 6?

Thanks in advance. :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-12 14:43:12 UTC Post #134269
Compiling a dll project is usually a little more complicated than can be provided in a forum response.

Borland normally provides very good documentation, tutorials and samples with their products. If you've never built a DLL before, I'd suggest you try out the samples and tutorials provided with bcppbuilder before you tackle Half-Life.

However, I found the following in less than a minute on the Borland site.
The Object Repository contains forms, dialog boxes, data modules, wizards, DLLs, sample applications, and other items that can simplify development. Choose File|New|Other to display the New Items dialog box when you begin a project.The New Items dialog box is the same as the Object Repository. Check the Repository to see if it contains an object that resembles one you want to create.
You knew this was coming, right? RTFM. ;)
Posted 18 years ago2005-09-12 17:14:32 UTC Post #134312
Using Borland would be complicated, because the project file is
in Microsoft Visual C++ 6 format. However, you could try making a borland project and adding all the c and h files.
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2005-09-13 08:56:16 UTC Post #134358
I knew, how to create a .dll wizard, but I didn't know, how to use it wit all the .h and .cpp files to convert it into a .dll... :)
Guess I'll google for tuts..
Thanks anyways. :)
Daubster DaubsterVault Dweller
Posted 18 years ago2005-09-13 12:29:45 UTC Post #134413
It probably wouldn't work since the SDK contains code proprietry to VisualC++. I recommend using VC++ 2003 or newer even though the SDK is designed for VC++ 6. There will be one error in the multiplayer source which can be easily fixed, I forget how, I'll dig up VC++ 2k3 and find you a fix.
m0p m0pIllogical.
You must be logged in to post a response.