[DUG] This is perplexing !

Rohit Gupta rohit at cfl.co.nz
Tue Jul 15 11:35:38 NZST 2008


Nothing to do with current directory ??

jeremy at telsoft.net.nz 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: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz 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  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080715/658960e2/attachment.html 


More information about the Delphi mailing list