When I try and compile a visualddk project (visual studio, not BUILD) I get errors trying to use try/except blocks(error C2065: ‘try’ : undeclared identifier)? How can I fix this?
Bah! Did not try this one at all. I guess, there are some flags that BUILD specifies to the compiler, and Visual Studio does not. I’ll put this into the feature wishlist, however I cannot promise to fix it soon. If you find the exact flag responsible for the structured exceptions, please notify me, so I can release a fix.
Note: using __try/__except instead seem to work for the DDK as well, hopefully with the same results, it seems the DDK may alias these for readability perhaps?