Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-01-2005, 08:48 PM   #1 (permalink)
 
Newb Techie

Join Date: Feb 2005

Posts: 8

MSrebel

Send a message via AIM to MSrebel
Question Stupid DLL Question

I know this may sound stupid, but how do you write .dll files in c++, and how do you implement them into your code. Also, how do you write .h include files? Is there some special format?
MSrebel is offline  
Old 03-02-2005, 12:07 PM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

To write a .dll you just compile it as a library, rather than an executable. To use a .dll (speaking from a .NET Background) you just need to reference them in your project. To write a .h you don't need to use a special format. Just use a text editor.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 03-02-2005, 04:39 PM   #3 (permalink)
 
Newb Techie

Join Date: Feb 2005

Posts: 8

MSrebel

Send a message via AIM to MSrebel
Default

Could you be more specific, I've never written libraries or .h files before.
MSrebel is offline  
Old 03-08-2005, 09:24 AM   #4 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

You'll have to check your compilers documentation about how to compile it as a library. It's different for different compilers.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
 
Closed Thread

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
Trackbacks are On
Pingbacks are On
Refbacks are On