English
Forum

Create("HPIC" dies in Invalid image

 

Jac
de
Lad
If I one ungültiges Image with Create(hPic load, nippelt my Program in each drop ex. alike, whether ichs with Errorlevel -1 Try or try whom Error with %IOResult abzufangen. Can what against it do? Roland reacted in the Skype unfortunately not (possible the same trouble, How with the iFschen Account).

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/21/08  
 



@Jac
what understand You under one ungültigen Image ?
If the image not any more present is, should IFEXISTS() help
 
05/21/08  
 




RGH
Jac
If I one ungültiges Image with Create(hPic load, nippelt my Program in each drop ex. alike, whether ichs with Errorlevel -1 Try or try whom Error with %IOResult abzufangen. Can what against it do?


what mean You with Invalid image? a incorrect Filenames or a ungültige Bilddatei? slopes here time so a ungültige Bilddatei on, so I the to check on can. theoretical is it naturally possible, that it corrupt Bilddateien gives, The The in-laws Units or. windows-DLLs directly to that crash bring. there can then too XProfan little intercepting.

Jac
Roland reacted in the Skype unfortunately not (possible the same trouble, How with the iFschen Account).


Since I in the momentum with the completion of XProfan engage be, have I my Skype-status presently on be engage set! ;) and for Bugmeldungen (with corresponding Codebeispiel) are The suitable Forums eh rather suitable!

Greeting
Roland
(to Time quite in the Streß)
 
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/21/08  
 




Jac
de
Lad
I mean a arbitrary File, The present is, but no Image contain. You can means a Textdatei or so take. with Errorlevel 2 comes ne Message ...not ladbar....etc.; with Errorlevel -1 crashes it completely ex.

Yes, pity, that You Not Available are, it went namely around the completion of X11.

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/21/08  
 




RGH
I see: ErrorLevel -1. then is it logical. because that is, that Error ignoring go. the can naturally to that Prgrammabsturz lead. In this case becomes then the Error Bitmap not ladbar (or so similar) ignoring an so on made, as would the lever validly, what then naturally to that Crash lead. Errorlevel -1 is always such a thing How Blindflug and the can now time with unsichtbaren Hindernissen into pants weg ... or where too always.

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/21/08  
 




Jac
de
Lad
The question, which me now position is: knows someone ne Possibility, How to the intercepting can?
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/21/08  
 




RGH
Jac
Yes, pity, that You Not Available are, it went namely around the completion of X11.


About Email or this Forum be I still accessible. the has momentarily for me benefit, I me timewise divide up can, when I answer and not immediate my work interrupting must, because one Skypefenster aufpoppt or so.

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/21/08  
 



@Jac: Perhaps before by GDI Verify whether a Bildhandle zurückgeliefert becomes?
 
05/22/08  
 



@Jac
CompileMarkSeparation
DECLARE bild&,bild$
bild$=C:\no_face.jpg Anpassen
bild$=C:\no_face.txt Anpassen
CLS

IF RIGHT$(bild$,3)=jpg

    bild&=Create(hPic,-1,bild$)
    DrawPic bild&, 50,50; 0

ELSE

    Messagebox(Das ist keine Bilddatei,Fehler,64)

ENDIF

WAITINPUT
END

If you here whom code erweiterst on any Bilddatei-Endungen, The XProfan recognize (in the momentum standing here only JPG, comes with of/ one not selected Endung The Messagebox.
only one Denkanstoss - there's certainly elegantere Solutions, but said I already, I Purist be ?
 
05/22/08  
 




Jac
de
Lad
@Horst: thanks, but the Files, The I loading wants, having IMMER The Endung JPG. i know only not, whether tappt im dunkeln entire runtergeladen get, this is the trouble.

@iF: this is me a little bit To umständlich, I The Images then always twice loading should.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/22/08  
 



No Jac, not twice loading, separate once Überprüfen and (in Your drop) to failure delete...

But if I you a Tipp give can? show the image by randlosem HTML-Control, the can X11 ultimately.
 
05/22/08  
 



iF
But if I you a Tipp give can? show the image by randlosem HTML-Control, the can X11 ultimately.


Yes iF - give me whom hint!

Ah, thanks - functions inspired!
 
05/27/08  
 




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.425 Views

Untitledvor 0 min.
Georg04/01/15
Georg Teles05/06/14
Axel Berse02/20/13

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