English
Forum

Verify, whether file has just is used

 

Peter
Mallow
Hi,
how can one with Profan Verify, whether a File in use becomes.

i want z.B. a File copy with the copy-commands. If but the File straight of a others Program is used or the program opened is, comes a Error Message.
the would like I bypass.

Greeting
Peter
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
11/17/07  
 



an File reading goes too then if The File already of others Applications to that reading opened is, a File reading goes then only not if these already to write opened is. In ioresult  standing, to openrw  of/ one File, whether these has to that reading open let. The copy uses you here means nothing, copy manually by Blockread /write.
 
11/17/07  
 




Peter
Mallow
Sorry, I have me something inaccurate framed, but nevertheless thanks, for your speedy response.

the Program should a dateiA.exe to dateiB.exe copy. trouble: If dateiB.exe opened is, crashes the program with of/ one Error Message ex, there a File not copies go can, if The Zieldatei carryed out becomes.

i want now only Verify, whether dateiB.exe carryed out becomes. if so, should the program with the Message Program can't carryed out go. Please terminate tappt im dunkeln first dateiB.exe aborted go.
if No, should the program weiterarbeiten.

I Search now a Possibility, with the I these Überprüfung can make.
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
11/17/07  
 



whether it itself circa a Exe or otherwise a File deals game no role. an executed Exe is imho usually readable. in order to Verify whether readable read ioresult to assign and openrw from. whether a exe however grade carryed out becomes is hardly directly messbar, be because You can The executed Exe self program so these on possible inquire answer. the however is the Topic of Prozesskommunikation and not reading of opened Files or. Verify, whether file has just is used.
 
11/17/07  
 




Peter
Mallow
Okay, thanks. functions now:
CompileMarkSeparation
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
11/17/07  
 



Überarbeitet:
CompileMarkSeparation
 
11/17/07  
 




Peter
Mallow
is the XProfan 10 code?
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
11/17/07  
 



Yes, XProfan10 code! You write You would have XProfan10, Why testest You it because not simply?
 
11/17/07  
 




Peter
Mallow
No, Have only XProfan 9. and 9 knows whom Var commands not. But in the principle the same code, or?
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
11/17/07  
 



Nimm the var simply lane and deklariere The with var led variables by Declare, the code having yet a Error.
 
11/17/07  
 




RGH
Peter Mallow
No, Have only XProfan 9. and 9 knows whom Var commands not. But in the principle the same code, or?


Hello Peter,
there XProfan 9 Assign too not yet as function knows, should You with your Variante the Codes stay.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
11/18/07  
 



Ah! well true...
 
11/18/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.275 Views

Untitledvor 0 min.
Sven Bader09/08/21
Klaus Ernst08/01/14
Jupp Fitten02/03/14

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie