|
Thread: Dll
-
Aug 16th, 2001, 10:56 AM
#1
Thread Starter
New Member
-
Aug 16th, 2001, 05:36 PM
#2
Fanatic Member
-
Aug 16th, 2001, 07:12 PM
#3
Thread Starter
New Member
Thankx TheBao for your reply i am going thru the info in both the web-sites......
-
Aug 19th, 2001, 10:52 PM
#4
Junior Member
-
Aug 22nd, 2001, 04:43 PM
#5
Thread Starter
New Member
No Kumars i donot know VC++
Soniya
-
Aug 22nd, 2001, 11:34 PM
#6
Junior Member
Hi
Hi
In VB. Dlls implementation are changed. Its different in VB.NET
Which one you want to know or both
email id?
rs
kumars
-
Aug 24th, 2001, 05:31 PM
#7
Thread Starter
New Member
Hi Kumars...i am learning only VB ver 6 i am not into VB.net....so DLL query was relating to VB6
Soniya
-
Aug 27th, 2001, 12:46 AM
#8
Junior Member
Hi
Hi Soniya,
Thats fine. I Hope i can help you ..
IF u feel free, please give your email Id...and let us be the good email friends
or send pm
kumars
-
Aug 29th, 2001, 12:14 PM
#9
Frenzied Member
A DLL (historical)
In the days of old when knights were bold . . .
When you created an application all of the source code would need to compiled together. Now, although you could have external files containing source code, you would still need to compile them all in the one 'EXE' Statically Linked.
This meant reuse etc became difficult, although generic source files flew around all over the place.
So MS, in their infinite wisdom decided that they would create an operating system that would allow external compiled exe's to be dynamically linked to another exe [all sorts of stuff about process, threads, shared memory etc . . .]
The DLL is what they came up with hence Dynamic Linked Library.
It was, and is a superb idea.
-
Sep 4th, 2001, 03:50 AM
#10
Junior Member
What DLLs are / Learning VB
Hi,
You may not know it, but that's a far reaching question! A bit like "what is the nature of the universe?"
If you want to learn VB, quickly and easily you should probably get a really good newbie's book like "An Introduction to Programming with Visual Basic 6.0" by David I. Schneider.
Other ways you can pick up VB quickly are to get books like Sams' "Pure Visual Basic 6" and Sams' "Teach yourself Visual Basic in 10 minutes". (You can't learn VB in 10 minutes, that's just the length of the sample exercises).
Many people will castigate me for recommending the "Visual Basic in 10 minutes" but often it helps to learn how to use each of the basic controls before you try and write a small application that uses a range of controls you know little about. Teaching you the basics of the common controls is what all this book is about and its cheap and a lightweight read. Confidence with using the most common controls extend your confidence to build small applications where you will effectively make data interact between compnents.
Now, a DLL... The simple explanation is that a DLL is a file to store chunks of program code that are re-usable. Different executable programs can then re-use the code in the DLL file by getting a copy of it when they need to use something it contains. Think of a DLL as the foundation for a house - it's your underlying structure on which to build. When you wish to build your house, you will need to know which foundations your particular house should sit on - often you will have to make your own DLLs.
In terms of writing a DLL, VB makes it simple. You can write a program like normal, but in your Project Properties dialog, you change the "Compile as Standard EXE" to "Compile as ActiveX DLL" - then when you build your program it will be a DLL. However, you need to read more about DLLs before you rush off and do this. You should learn a little about "classes" and "objects" because these are code building blocks that get put into DLLs in the real world and make DLL programming useful.
Good luck!
$CCF$
Last edited by $CCF$; Sep 4th, 2001 at 03:54 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|