Re: ATLTRY errors when compiling directShow from Microsoft Platform SDK for Windows Server 2003 R2
"Equilibrium" <ryariv@gmail.com> wrote in message
news:1166596903.170381.308080@79g2000cws.googlegroups.com
I was able to fix this for VS2003 by using the _ATL_MIN_CRT flag.
You didn't really fix the problem. It's just that under _ATL_MIN_CRT,
ATLTRY does not use try/catch internally.
But when i moved to VS2005 i had the same errors , why?
Under VS2005, ATLTRY uses try/catch even with _ATL_MIN_CRT. Presumably,
support for exception handling was added to min CRT.
The real problem is you trying to redefine a keyword. Why on earth would
you want to do that?
BTW the streams.h file includes this :
#include <atlbase.h>
if i remove this all of those catch issues are gone , does the
streams.h file really needed?
How should I know? It's your file in your program.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925