Thanks Dave but... that's one of the links I've already looked at. What I was hoping for was either sample code or a link that goes into the details of the what/where/how to use something like the API MessageBoxIndirect function "within" a function that I create within a DLL. The form handle that's passed to my function will be used for the hWndOwner and the string parameter that's passed will be used for the lpszText. That way an appropriate lpszIcon could be selected and displayed based upon the string parameter that's passed.
If it'll help someone (to help me)... I could post sample code of how I would do it in a BASIC programming language that I use. The whole point of asking how to do it in Delphi is that... I want to ensure I do it "correctly" (since I'm still in the learning process when it comes to Delphi). David --- In advanced_delphi@yahoogroups.com, David Smith <djsmith_1...@...> wrote: > > the first link in Google: > > http://delphi.about.com/od/windowsshellapi/a/dll_basics.htm > > Dave > > --- On Sat, 4/25/09, burkleyd <burkl...@...> wrote: > > From: burkleyd <burkl...@...> > Subject: [advanced_delphi] Creating a DLL > To: advanced_delphi@yahoogroups.com > Date: Saturday, April 25, 2009, 1:33 PM > What I would need to get me started is either... > > > > a) someone to post some sample code. Maybe some code that does > > something extremely simple within the DLL like... the user > > calls a function within the DLL passing both a "string" and a > > "form handle" as parameters.