Nothing to do with current directory ??

[EMAIL PROTECTED] wrote:
Hi All.

I have an interesting problem.

I currently have a Windows MDI APP.
My app needs to moves some files from one folder to another on a Linux box, and it does this via a SAMBA network share. So, on the main form of my app. I have a button, and when I click onthe button, it moves the files from one folder to another (including sub folders) via a looping routine. IF however I call the same function from from the MDI child, it doesnt work as expected, and removes the files from the source directory, but doesnt put them into the dest. folder. If I loop thru my file move looping function (which uses TSearchRec) it doesnt seem to see the files, only the folders!
If I click the button on the main form, suddenly it sees the folders !

I was hoping someone might be able to help me out with what the hell is going on !

Jeremy


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3266 (20080714) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
------------------------------------------------------------------------

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 3266 (20080714) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

--
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** *Tel* +64 9 4892280
*Fax*    +64 9 4892290
*Email  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>

------------------------------------------------------------------------
This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to