how detect if wxOutputStream is avaible?

Ondra Holub ondra.holub at post.cz
Thu Sep 6 00:56:50 PDT 2007


On 6 Zá , 04:18, haoom... at hotmail.com (Andres Londoño) wrote:
> Hi:
>
> My Application exits when I use a wxOutputStream objetc.
> But I don't know how check if is usable, if possible to write on it.
>
> I am checking the pointer using a simple
>
> wxOutputStream out;
> //....
>
> if(!out)
> {
> //can follow
> return;
>
> }
>
> // go!
>
> What can I do in a more friendly way?
>
> Thanks.!
>
> Andres
>
> _________________________________________________________________
> Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
> YupiMSN Compras:http://latam.msn.com/compras/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org

Try to call method IsOk()







More information about the wx-users mailing list