structured exceptions

Sysprogs forums Forums VisualDDK/VirtualKD discussion structured exceptions

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #110
    rrod182
    Participant

    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?

    Thanks

    #1171
    support
    Keymaster

    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.

    #1172
    rrod182
    Participant

    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?

    #1173
    rrod182
    Participant

    I was wrong __try/__except do not work, they don’t link properly. Have you found a workaround to this besides using the ddkbuild?

    #1174
    support
    Keymaster

    Please look, what symbols are reported missing by linker, find a LIB file containing them and add them to VS project manually. That should help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.