3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Handling E1115 error (and others...) inside the program
[Re: sivan]
#421007
04/08/13 13:59
04/08/13 13:59
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
I don't think setting warn_level to 0 will suppress error messages, only warnings. But try it anyways!
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Handling E1115 error (and others...) inside the program
[Re: Aku_Aku]
#421030
04/08/13 19:36
04/08/13 19:36
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
My way: Hook MessageBoxA and read the error (split it down to one or two words) and use a simple if condition to filter the msg. You can also block the msgbox if you dont call the orig function! This method works 100%
Last edited by Ch40zzC0d3r; 04/08/13 19:36.
|
|
|
Re: Handling E1115 error (and others...) inside the program
[Re: Aku_Aku]
#421090
04/09/13 21:52
04/09/13 21:52
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
How do you load the image (which lite-c function do you use)?
no science involved
|
|
|
Re: Handling E1115 error (and others...) inside the program
[Re: fogman]
#421092
04/09/13 22:08
04/09/13 22:08
|
Joined: Sep 2009
Posts: 993 Budapest
Aku_Aku
OP
User
|
OP
User
Joined: Sep 2009
Posts: 993
Budapest
|
bmap_1=bmap_create(_chr(str_File));
|
|
|
Re: Handling E1115 error (and others...) inside the program
[Re: Aku_Aku]
#421095
04/10/13 06:46
04/10/13 06:46
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
I´ve had the same problems in past. Do you have the error only with specific file extensions, like tga? In this case, you could try to use bmap_load(BMAP*,char* name,var mode) for these extensions.
no science involved
|
|
|
|