freelanceprogrammers.org Forum Index » C
Re: philosophycal issue: using exceptions
Joined: 19 Jul 2003
Posts: 29
Re: philosophycal issue: using exceptions
Hi Ric,
That sounds like something very interesting.
Exceptions are a decent idea to keep the bugs from
bugging you. If you are going to just "use" some
ready-made libraries, they have to support exceptions
first. If not, you`ll have to wrap them with your own
exception-throwing C++ classes.
Embed exceptions into the entire framework of your
software. It helps keeping bug-busting a saner task.
But ofcourse, it needs that you understand them (the
exceptions mechanism) first. Post more specific
details, then maybe somebody on the list can be
helpful to you.
I had a chance to work on something feebly similar to
the software you mentioned, regarding serial ports.
They were doing it in Java, and I had to write the
code using the Sun`s COMM API. Believe me, it sucked!
Your mentioning of the Serial I/O library is a relief
to me. I am going to take a look on it. Any links to
that please?
I have heard good reports about SQLite too, but dunno
any details. Though have heard about Firebird also a
lot. The databases (I guess) are under GNU GPL, so I
think you are going to keep your software under GPL
too. Like to share it with people? And one more thing,
how do you do stuff like linking with MS-Word,
MS-Excel etc?
Regards,
Shantanu
--- "Ricardo P. Jasinski" <jasinski@...>
wrote:
> Hello people!!
>
> I`m trying to improve an application I recently
> developed, in order to
> release its version 2.0. One of my concerns is to
> make it more robust,
> stable and with error-recovering capabilities. Some
> of its
> characteristics are:
>
> -the system comprises an applicative SW, running on
> PC/desktop computer,
> plus
> -an external device which will collect data and send
> it to the PC via a
> com port
> -the SW must automate MS-Word and MS-Excel in order
> to generate reports
>
> For the serial communication I use ComPort library,
> by Dejan Crnila (way
> excellent).
>
> For the database I use Sqlite dll, by Richard D.
> Hepp (having my first
> experience, seems very good and reliable).
>
> Ok, now, I`ve read quite a few things about
> exceptions, how to use them,
> even used them in some places, but what I haven`t
> got is the general
> picture: where to put them? when exactly to use them
> when submitting a
> database query? or in the serial communications,
> where several things
> could go wrong?
>
> I`d like to open a topic about the use of
> exceptions, and hear about how
> you like to use them. I hope this will give us
> insights which could be
> very productive and usefull.
>
> Hope to hear from you all! See ya,
>
> Ricardo Jasinski.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







