Sorry, I just wrote it off the cuff. Here's something that is exactly
in my code
#define EXCEPTION_HANDLING { \
catch(Exception^ uEx) \
{ \
throw uEx; \
} \
}
my problem is that, although this compiles, I can't seem to get this
to work with the try block.
try
{
}
EXCEPTION_HANDLING
??
I keep getting the error that the try doesn't hav a catch.
> Sorry, I just wrote it off the cuff. Here's something that is exactly
> in my code
[quoted text clipped - 17 lines]
> ??
> I keep getting the error that the try doesn't hav a catch.
You have an extra set of {. Your macro expands the above to
try
{
}
{ <-- get rid of this
catch(Exception^ uEx)
{
}
} <-- and this
-cd
DaTurk - 22 Jun 2007 21:48 GMT
On Jun 22, 2:11 pm, "Carl Daniel [VC++ MVP]"
<cpdaniel_remove_this_and_nos...@mvps.org.nospam> wrote:
> > Sorry, I just wrote it off the cuff. Here's something that is exactly
> > in my code
[quoted text clipped - 33 lines]
>
> - Show quoted text -
Awesome, that did the trick. THank you