Re: Re: My thoughts on DLLs for beginners
"Victor O. Heredia" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <008901c34877$dde6bba0$66252ac8@oemcomputer> |
I received a copy. He is enjoying holidays at the moment. (See the author's message below). I don't know if it is possible to upload the file to the Files section of this forum. I'll try later- Greetings Victor ----- Original Message ----- From: Roger MacRae To: [email protected] Sent: Wednesday, July 09, 2003 9:46 PM Subject: Re: [Delphi] Re: My thoughts on DLLs for beginners Has anyone actually got a copy of this yet? I asked for a copy but have not received one yet. [email protected] Hi, guys, Here is the stuff - its just really the most basic, but could save some time. Off to England for a few weeks so won't be answering emails during that time - if there's any mail to me, I'll be sure to get round to answering it in August. Cheers, Richard PS as you can see, a lot of ppl have been given this zip file, so I guess if I made any major mistakes, you could email the other guys... except for the 3 guys in the "To" list for the below email, all of you are on the same Delphi list. Cheers! > -----Original Message----- > From: Richard Le Mesurier (Investec Employee Benefits) > Sent: 04 July 2003 15:59 > To: Brent Boswell (E-mail); Mike Currin (E-mail); Ivor Chalton (E-mail) > Cc: '[email protected]'; '[email protected]'; > '[email protected]'; '[email protected]' > Subject: DLLs for Beginners > > Hi, guys, > > Well, here is what I have put together. As I said, its very very informal, > and really its just my attempt at solidifying my own thoughts on the topic > before I go away for close on a month's leave - without this doc I am sure > returning to work would be a lot harder (to the SA guys... hehe I'm off to > 30 degree weather in France! :) > > So in the spirit of sharing that's gotten me so far in my own learning, > here's what I have learnt. > > There are two projects in the attachment. The one is the DLL and the other > is a program that calls the DLL. > > The actual DLL itself is useless - it does pretty much nothing (it > reverses a string...). The code was not as important to me as cracking how > to write a DLL - I was scared of this strange concept and now I have found > out that there is nothing too hard about it. A few extra rules to > follow... I'm sure a real working DLL will have its complex parts, and > also surely some extra tricks to remember, but that's the same with any > REAL vs LEARNING programs (anyone tried to learn to write a REAL program > after copying a "Hello world" program?) > > Andre mentioned that it would be handy to know why and when to write a > DLL, and I guess also why and when to link statically or dynamically. I > don't really know, haven't given it much thought, sorry. My aim was to > learn HOW, so that when I got a valid reason at work to use one, I could. > > Please, if anyone has anything to add, please do. Make this a living > document and maybe between us all we can help a new generation of guys > along. If its handy, pass it along; its not really my work, all I did was > rewrite other people's work and arrange it my own way. But most > importantly, if I have made errors (in code, concept or just judgement) > please correct them to me. I can read about them when I get back. > > One last favour to the guys on the mailing list... I am on leave from > Monday, so if anyone else from the list is interested in this stuff, can > one of you please send it along. I won't be around to read their requests. > > Cheers > Richard > > <<DoPWord.zip>> > (this is a Winzip file) [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/sOykFB/k9VGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/