| View previous topic :: View next topic |
| Author |
Message |
keith Member
Joined: 13 Sep 2006 Posts: 1
|
Posted: 13/09/06 10:31 Post subject: parameter is incorrect |
|
|
I'm using TFindfile to build a small application to clean disks, I have got an error during scanning, first 'the parameter is incorrect', then 'out of system resources', have you ever had the similar problem? does anyone know how to fix this ?
Thank you very much.
_________________ Free Capture& pc sweeper
http://www.xerp.cn
support@xerp.cn |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 14/09/06 13:18 Post subject: |
|
|
I guess you are using FindFile in threaded mode.
When FileFile is in threaded mode, the events are called within a separate thread (not the main VCL thread). Because of the, the code of event handlers should be thread safe.
_________________ Kambiz |
|
| Back to top |
|
 |
|