Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-18-2003, 10:14 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
DLLs ? c++ or what?

i guess it is more windows specific, but i don't get it still.

everytime i ask or read what a dll is, i get a general idea, but i still don't fully understand.

can anyone point me to a good simple tutorial on how to create a dll, and load it into a program .. with vc++ or borland, .. whatever.

or better yet.. anyone care to make a tutorial?
sde is offline   Reply With Quote
Old 03-19-2003, 02:50 AM   #2 (permalink)
Travis Dane
Code Monkey
 
Travis Dane's Avatar
 
Join Date: Feb 2003
Location: Netherlands
Posts: 89
Travis Dane is on a distinguished road
Send a message via ICQ to Travis Dane
A Dynamic Link Library is more or less the same as a Static Link
library, There are Functions, Classes, Templates etc, Stored on
it. Now Static Library's are called upon compile time, Meaning that
after the compilation they are no longer required. DLL are called
upon during Run-Time (When you start the program), The
advantage of this is that it keeps calling the function from outside
the program, So you can replace the DLL with a newer version
and the program will as usual call the outside
DLL and automaticly use the new DLL.

The advantage is that you won't have to re-release a program
to update it, Just replace the DLL with a newer that contains
the new Functions.

By The Way, DLL's can contain more than just Function or
Classes, For example, They can carry Bitmaps, Icons, Wav's etc.
__________________
OpenGL, DirectX
Travis Dane is offline   Reply With Quote
Old 03-19-2003, 08:32 AM   #3 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Hello sde!

Which environment do you use? That would help so I can make for you a basic dll.

Erm, only Visuall C++. You got it? Then I can make one. Just whistle

- Val -
Valmont is offline   Reply With Quote
Old 03-19-2003, 08:48 AM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
oh cool =)

i have vc++.net and borland 5

i also have vc++6 student version, but only on my laptop .. so either one of the 2 above would be better for me.

thanks a lot!
sde is offline   Reply With Quote
Old 03-19-2003, 08:53 AM   #5 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Does the student version offer the option to create a DLL project
(can't help you in .net and Borland).?

Lookie what I have found. Couldn't do it better myself:
click here
Valmont is offline   Reply With Quote
Old 03-19-2003, 09:09 AM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
yes, i can create dlls in vc++6 student..

thank you very much =)
sde is offline   Reply With Quote
Old 03-19-2003, 09:14 AM   #7 (permalink)
Travis Dane
Code Monkey
 
Travis Dane's Avatar
 
Join Date: Feb 2003
Location: Netherlands
Posts: 89
Travis Dane is on a distinguished road
Send a message via ICQ to Travis Dane
Since i have no life, I've written a Tutorial about SLL and DLL
out of my hand. I'll polish them up when i have some spare time.
__________________
OpenGL, DirectX
Travis Dane is offline   Reply With Quote
Old 03-19-2003, 09:55 AM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
thanks! i've approved it so you should be able to 'poish' it when you can.

looks good =)
sde is offline   Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
c simple question problem with switch case if13121 Standard C, C++ 1 10-24-2004 09:43 PM
VB or C#, or something else Apodysophilia MS Technologies ( ASP, VB, C#, .NET ) 6 10-15-2004 09:48 AM
operate overloading member function in C# sureshkumar_kc MS Technologies ( ASP, VB, C#, .NET ) 2 10-15-2004 02:36 AM
edit? anon Lounge 10 11-21-2002 03:02 PM


All times are GMT -8. The time now is 09:04 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting