Page 1 of 1
[Implemented] All OS support for OnError library
Posted: Tue Jul 01, 2008 12:49 pm
by ozzie
I'm porting my VB6 application to PB, and in VB6 I made extensive use of OnError. This has proved extermely useful in quickly identifying where errors occur that have been reported by a user. I was pleased to find PB provides the OnError library but see that it is only supported for Windows. One of the reasons for choosing PB was the cross-platform support, so my feature request is to provide all OS support for the OnError library. Apart from Windows, I'm wanting to compile to Mac OS X and Linux.
Mike
Posted: Tue Jul 01, 2008 1:33 pm
by Progi1984
Surely, in the v4.3
Source : Freak
Posted: Tue Jul 01, 2008 1:44 pm
by freak
Yes, 4.30 will have an OnError library for all OS and all supported processors.
Posted: Wed Jul 02, 2008 8:38 am
by ozzie
Thanks - that's good news.
Mike
Posted: Sat Jul 26, 2008 7:05 pm
by mback2k
It would be really cool, if PureBasic executables (on all OS) were able to write crash reports to a file, maybe MyProgram.err or something like. This could be enabled by compiler options. Freak, whats your opinion on this idea?
Posted: Sat Jul 26, 2008 11:58 pm
by freak
You can already do that with the info collected by the OnError lib, what else do you need ?
Posted: Sun Jul 27, 2008 7:41 am
by Marco2007
@mback2k:
HeXOR has coded a very good Include:
http://www.purebasic.fr/german/viewtopi ... or+include
Instead of Mailing you can use CreateFile for creating an error-File.
Posted: Sun Jul 27, 2008 10:13 am
by mback2k
Thanks for the tip. A Include is probably the best solution. Now I have to wait for the Linux version of the OnError library.
Best regards,
mback2k