|
 |
|
 |
03-18-2003, 10:14 PM
|
#1 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
|
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?
|
|
|
03-19-2003, 02:50 AM
|
#2 (permalink)
|
|
Code Monkey
Join Date: Feb 2003
Location: Netherlands
Posts: 89
|
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.
|
|
|
03-19-2003, 08:32 AM
|
#3 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
|
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 -
|
|
|
03-19-2003, 08:48 AM
|
#4 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
|
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!
|
|
|
03-19-2003, 08:53 AM
|
#5 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
|
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
|
|
|
03-19-2003, 09:09 AM
|
#6 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
|
yes, i can create dlls in vc++6 student..
thank you very much =)
|
|
|
03-19-2003, 09:14 AM
|
#7 (permalink)
|
|
Code Monkey
Join Date: Feb 2003
Location: Netherlands
Posts: 89
|
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.
|
|
|
03-19-2003, 09:55 AM
|
#8 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
|
thanks! i've approved it so you should be able to 'poish' it when you can.
looks good =)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 09:04 PM.
|
Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
|
 |
|