Hi Ramy,
Could you verify that Win32::GUI is causing this by testing without GUI code running. Create an application that uses threads and Win32::FileOp without Win32::GUI loaded and see if the problem still occurs. If so, it's out of our hands and is a fault in Win32::FileOp. A lot of modules are not threads-compatible, and it's probable that Win32::FileOp is one of them.
If it only happens with Win32::GUI loaded, please let us know and we'll undoubtable jump at the chance to look into it, such a powerhouse of activity that we are.
----- Original Message -----
From: ramy@mehtag.com
To: perl-win32-gui-users@lists.sourceforge.net
Sent: Saturday, January 24, 2004 10:24 PM
Subject: [perl-win32-gui-users] Win32::FileOp Erro with Win32::GUI

Hi All,
I noticed that when I use the module Win32::FileOp
in a GUI application (may be also not gui) in a Threads,
When the threads starts, the script shows error
that says :
The instruction at "0x28053f9a" referenced memory at "0x000010c0". The memory ould not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program
and sometimes it is The memory ould not be "Written" instead of "read".
I actually found that if I use the module "Win32::API" it will generate
this error and of course Win32::FileOp use internally this module.
The threads works fine if I remove the "use Win32::FileOp;" line but
I need to use it for the File Open and Save Dialogs.
Any solutions or suggestions?
Thank you in advance for help