Delphi

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • DLLs and Threads

    0 answers - 1763 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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.
    Message
    From: delphi-en (AT) yahoogroups (DOT) com
    [mailto:delphi-en (AT) yahoogroups (DOT) com] Behalf Chris @ IT
    Sent: Monday, August 15, 2005 4:26 PM
    To: delphi-en (AT) yahoogroups (DOT) com
    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="*
    ">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
    Home page:
    To unsubscribe: delphi-en-unsubscribe (AT) yahoogroups (DOT) com
    Yahoo! Groups Links
    <*To visit your group on the web, go to:
    <*To unsubscribe from this group, send an email to:
    delphi-en-unsubscribe (AT) yahoogroups (DOT) com
    <*Your use of Yahoo! Groups is subject to:

Re: DLLs and Threads


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Delphi"

EMSDN.COM