| |
|
|
 Manfred Barei | ¡Hola,
komme simplemente no más, habe ya etliches probiert, pero yo bekomme simplemente porque auftretenden Fehler no abgefangen.
Folgender Fehler tritt imDemoproc en, siehe Bild: KompilierenMarcaSeparaciónDeclare Bild&
DEF GETSYSCOLOR(1) !"USER32","GetSysColor"
ErrorProc
Set("ErrorLevel", 1)
Print "<----ErrorProc---->"
Print %Error, %ErrNumber, %ErrLine, $ErrStr, $ErrFile
Print "<----------------->"
Set("ErrorLevel", 0)
EndProc
WINDOWSTYLE 31
windowtitle "Bildauswahl-Test"
WINDOW (%maxx/2 - 640/2),(%maxy/2 - 500/2) - 640,500
CLS
Set("ErrorLevel", 0)
Set("OnError", 1)
------- Hier ist der Fehler, die Bilddatei ist 0 Byte groß
Bild& = @Create("hPic",-1,"C:\WINDOWS\WELLEN.BMP")
----------------------------------------------------------
DrawPic Bild&,0,0;0
DeleteObject Bild&
waitinput
end
|
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 14.08.2008 ▲ |
|
|
|
|
 | @Manfred "wellen.bmp" tener Yo no. Mit una otro Bild de el Windows-Directorio (zapotek.bmp) klappt alles einwandfrei. Auch si yo el Fehlerproc "remme", funktioniert alles.
Spinnt veces otra vez Windoof ? |
|
|
| |
|
|
|
 Peter Max Müller | |
|
| |
|
|
|
 | Ach así... Das CLS kannst Usted streichen! Usted erstellst doch con Ventana X,Y-X1,Y1 ya una Ventana
So es auch KompilierenMarcaSeparación |
|
|
| |
|
|
|
 Peter Max Müller | Tja, So gehts eben no. Su Code ,Horst,prüft si una Expediente existiert. Manfred möchte aber una existierende 0 byte Expediente abfangen. Oder täusche Yo mich ahora gewaltig?
Ciao |
|
|
| |
|
|
|
 Manfred Barei | ¡Hola Peter,
el con el @FileSize Tuve auch ya probiert aber todavía no en dieser Form. Werde lo todavía una veces probieren como Usted lo Nuevo hast, Yo hoffe lo funzt.
Saludo Manfred |
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 14.08.2008 ▲ |
|
|
|
|
 Manfred Barei | ¡Hola Peter,
Gracias,así funzt lo 
Saludo Manfred |
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 14.08.2008 ▲ |
|
|
|
|
 | Dann tener Yo el falso verstanden - OK - ahora klappt lo sí !  |
|
|
| |
|
|