Thanks again.
How can I know if the exception is a memory error and not something else?
I would like to change the chart length if I get the memory error so that
old data will go away in place of new data, but I don't want to do that for
any error I may get.
"Elton Wells" wrote in message
news:506500000005000000C4810000-1023576873000@exchange.ni.com...
> CNiException is a CException-derived class that's used as a base class
> for Measurement Studio for VC++ specific exceptions, such as
> CNi4882Exception, CNiSystemException, etc. You could catch
> CNiException to catch CNiException or any of its derived classes, but
> it wouldn't let you catch COleDispatchException since it's derived
> from CException, not CNiException
.
>
> - Elton