realbasic-nug
[Top] [All Lists]

Re: FolderItem weirdness

To: "realbasic-nug at lists dot realsoftware dot com" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FolderItem weirdness
From: Maximilian Tyrtania <mty at fischerappelt dot de>
Date: Fri, 31 Mar 2006 08:21:44 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcZUi2GGn9ElRMB+EdqKggARJHaMlA==
Thread-topic: FolderItem weirdness
I also encountered a problem like this one recently. In my case it was
Norton Antivirus inspecting a newly created file (that I created via
gettemporaryfolderitem), what in turn made f.createbinaryfile return error
104 (file in use).

I found the MBS-function delayMBS optimal to insert a little delay after
creating the new file, and haven't encountered any problem since.


- Maximilian Tyrtania | mty at fischerappelt dot de
  fischerAppelt Kommunikation GmbH
  Tucholskystr.18 | D-10117 Berlin | Germany
  Tel. ++49-30-726146-728
  http://www.fischerappelt.de

--


Am 31.03.2006 1:11 Uhr schrieb
"realbasic-nug-request at lists dot realsoftware dot com" unter
<realbasic-nug-request at lists dot realsoftware dot com>:

> Subject: Re: FolderItem weirdness
> From: Harrie Westphal <harriew at frontiernet dot net>
> Date: Thu, 30 Mar 2006 16:26:39 -0600
> 
> 
> On Mar 30, 2006, at 3:53 PM, Joseph J. Strout wrote:
> 
>> I guess I just prefer threads for long operations.
> 
> Well, in my case these are very small files being copied but on
> occasion, the file being copied will be unavailable if the program
> tries to re-access it too quickly. It doesn't happen often, but now
> and then it is a gotcha that must be coded for.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>