G
Guest
Hi, friends,
We need to programm a .dll (C#) which will collect all selected files from
various locations, such as a DB, a file system, a VSS, etc. So, it may take
long time. I created a method GetAllFiles() to iterate/fetch each file, and
it works fine.
However, since this method is called from a Windows app (VC#), and users
want to see real time status for each file. What is the best approach to
implement this requirement? Create another thread in .dll to chech the
status, or raise an even, ....? Any ideas, reference papers, sample code, and
etc.?
Thanks a lot for your help...
We need to programm a .dll (C#) which will collect all selected files from
various locations, such as a DB, a file system, a VSS, etc. So, it may take
long time. I created a method GetAllFiles() to iterate/fetch each file, and
it works fine.
However, since this method is called from a Windows app (VC#), and users
want to see real time status for each file. What is the best approach to
implement this requirement? Create another thread in .dll to chech the
status, or raise an even, ....? Any ideas, reference papers, sample code, and
etc.?
Thanks a lot for your help...