I'm not too fond of using (muliple) threads if they're not needed, but do you mean you load/call function/unload the DLL all the time?
Greetz, Peter. > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Chris @ IT > Sent: Monday, August 15, 2005 4:26 PM > To: [email protected] > Subject: [delphi-en] DLLs and Threads > Sensitivity: Confidential > > > Hi All, > > I have this application that loads DLL's dynamically as > plugins and as such > I use the loadlibrary, getprocaddress, free library routines. > > The host application loads the dll and calls its process > export function so > that the dll can do what its meant to do. The problem is > there are usually > many requests to be done (about 500 every second) and when I > call the dll > for each sequentially its takes quite a bit of time > > What I want to try is spawn a new thread that loads the dll > and calls the > function. With this approach the dll will be loaded many times and its > function called many times. > > Anything I should know about calling dlls in this manner? All > dlls and apps > written in Delphi 7 > > Chris. ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hqi79rj/M=362329.6886308.7839368.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1124123482/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

