Re: Multitasking Preview Release
- Posted by "Juergen Luethje" <j.lue at gmx.de> Sep 25, 2005
- 598 views
codepilot Gmail Account wrote: > On 9/23/05, Juergen Luethje wrote: >> >> codepilot Gmail Account wrote: >> >>> On 9/22/05, Juergen Luethje wrote: >> >> <snip> >> >>>> I wrote a plugin (a Windows DLL) for Total Commander. Sometimes, when >>>> the DLL reads/writes huge files, obviously Total Commander is not able >>>> to update the optical appearance of its main window, until the DLL has >>>> finished its work. <snip> > What part of you eucode is slow? Could you give me a general outline > of how the program works? The DLL reads text files depending on the situation line by line, or in chunks of 32 KB. And it copies text files, also using chunks of 32 KB. I wouldn't say that the EuCode is slow, but when the concerning files are big, especially on old computers it takes some time. Total Commander displays the GUI for the plugin, e.g. it asks: Do you want to copy the file 'foo.bar'? [Yes] [No] When the user clicks [Yes], my plugin does the work, and Total Commander shows some delay in updating its window. In the meantime I realized, that the same thing happens in situations where Total Commander only calls its own internal routines. So now it looks as if this hasn't got to do anything with my plugin. Thanks for considering the problem! Regards, Juergen -- Have you read a good program lately?