English
Forum

windows boundary access

 

GDL
Hi,

and again I with what integrally Querem.

90% all Steuerungsanwendungen for Heimbetrieb(Desktop) walk under DOS.
Why? because one with
on error gosub Error:

Error:
resume next

one Progamm and DOS To 99% not to that crash brought.

with XProfan functions with the Errorlevel -1 too, except for The fact the windows the program but terminated at Dateifehler.

gives it irgendeine Possibility windows moreover To bring,to irgendeinem Error How under DOS with the next Codezeile moreover to execute.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/11/06  
 



The question is unfortunately null. Dos and Windows react - from the Deinigen perspective viewing - both with discontinue/crash.

on error can also only warnings abgefangen having which fälschlicher point as Errors marks get - there real Abstürze Yes nunmal a further Abarbeitung prevent (otherwise would it no crash ) - under Dos and Windows!

it's located means on you - under Dos and under windows - one Program so To write the no Systemfehler appears.

Error remaining Error - there helps too no Dos/windows.
 
05/11/06  
 




GDL
does me sorrow,

but I have 15 years with DOS Programs of Siemens,Bosch,Motorrola and SEL Funkgeräte and radars program.
there We also The software alter mussten,had We also whom Source moreover.

no walkie - talkie or radar durfte because of Dateifehler exits(rather framed How crash) go.

under DOS becomes no Program through on error with Dateifehler BEENDET or The Bayerische police has one other DOS in her Geräten.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/11/06  
 




RGH
If it circa Dateifehler goes, means I/O-Error, then ought to one to eachone Dateioperation %IOResult inquire. integrally just as, How already then under DOS with Turbo-Pascal. integrally particularly important is the to the Open of/ one File with Reset, Rewrite, Append or OpenRW. but too with whom others Dateibefehlen and -functions, a Dateinummer need, can not damage. One A second fehlerhaften Dateioperationen ought to itself through geschicktes program sure avoid let.

sure was under DOS in this Hinsicht manches plainer, because the laufgende Program always the einzigste Process was. under windows is the everything naturally plenty komplexer, there always already zig processes on the walk are.

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
05/11/06  
 




GDL
Hello Roland,

It's all right only yet circa Hardwarefehler(grossteils damaged Files which but yet open let and then whom Crash cause) or Verschluckfehler with gelesenen data.

have me schlau made: BOS (Behörden,organizations with Sicherheitsauftrag) use the Siemens/Nixdorf DOS, whatever the too his likes ,it uses The selbige Befehlssyntax and double Redundance(Absicherung? 2time Start?).

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/11/06  
 




RGH
[quote:6d37fd1a76=GDL]It's all right only yet circa Hardwarefehler(grossteils damaged Files which but yet open let and then whom Crash cause) or Verschluckfehler with gelesenen data.[/quote:6d37fd1a76]
with whom XProfan-command and -functions zurück The Error with the damaged Files on? Perhaps can I The then intern yet something robuster style.

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
05/11/06  
 




GDL
Hello Roland,

many Thanks for your give a hand.with 90% is it the commands dbget$(area).is too correctly there the Datensatz damaged.

1attempt :
seterrolevel -1 and To high Satznummer

Result : Program runs moreover, what ok is.

2 attempt
seterrolvel -1 read beschädigter File

no Error Message , Program is exits and send trouble to MS

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/11/06  
 




RGH
Ah, it's about dBase-Files. there helps my Info on %IOResult naturally not further.

what happens with Errorlkevel 0? in the first drop should a Error Message come up. what happens in the second drop? comes there a Error Message to the crash?

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
05/11/06  
 




GDL
Hello Roland,

means in the seterrolevel 0 comes The Error Message can area not find:xyz

seterrolevel 1 : no Error Message,Program ends and the Sendenachfrage.

usually would it Yes not so important, there one with Program Start Yes any data and the nachfolgenden Changes in variables reading and with End of program again rücksichern could.
only there PC over 3 Interfaces, of it a directly on the Systembus betrieben becomes, becomes with Kurzschlüssen in the equipment to safety all Hardwareteile The 220 Volt pipeline gekappt.accordingly are too The data in the memory lane.

have the whole so To solve attempts:
- Control reads data in variables one and gives these too on the clipboard.
- one parallel moreover current Program writes then Changes from the Clipboard into dazugehörigen Files on disk.
accordingly käme with of/ one damaged File not the Hauptprogramm to that stand and with one Kurzschluss wären The data on disk.

unfortunately power windows but none temporal 1 To 1 grabbed, sonder collecting first ne crowd data before Zugriffe come off.
accordingly is a zeitliches 1 To1 secure eh you don't say so,but at least could The thing with the defekten File umschifft go.
with Kürzschlüssen must now a knifflige Portsicherung on Hardwarebasis since, so PC not any more entsaftet go must (see now already Rauchzeichen).

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
05/14/06  
 




Frank
Abbing
[quote:0c805ad06f]unfortunately power windows but none temporal 1 To 1 grabbed, sonder collecting first ne crowd data before Zugriffe come off.
accordingly is a zeitliches 1 To1 secure eh you don't say so,but at least could The thing with the defekten File umschifft go.[/quote:0c805ad06f]
On many Gebieten there but API, circa manually grabbed To force. Ala GdiFlush(). Eventuel rewards it itself time, in the WinDoc to ähnlichen API for Dateioperationen to search. FlushFileBuffers() shining me there very promising To his.
 
05/14/06  
 




RGH
[quote:d8e65bacb6=GDL]Hello Roland,

means in the seterrolevel 0 comes The Error Message can area not find:xyz

seterrolevel 1 : no Error Message,Program ends and the Sendenachfrage.
Hello
Georg[/quote:d8e65bacb6]
so as looks, results the crash not in the function dbGetField$, separate after these whom Error causes in further db-functions.

with SetErrorLevel -1 ought to one to eachone function, The a Error cause
could, this inquire and properly react. moreover there The System-Variables %Error and %ErrNumber. If with dbGetField$() one Error aufgetreten is, means %Error and %ErrNumber (weight see Help) properly staid is, ought to reacted go. If one area not found watts, ought to each further reading this scheduler vermieden go, there tappt im dunkeln evident defekt is.

self-contained of it I will time look, How to the whole something robuster style can.

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
05/14/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.739 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 4 subscriber:

GDL (5x)
RGH (4x)
Frank Abbing (1x)
iF (1x)


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