What happened to __TRY?

Dmitry Timoshkov dmitry at codeweavers.com
Thu Nov 6 10:54:20 CST 2008

"Rob Shearman" <robertshearman at gmail.com> wrote:

>> When I upgraded wine-develfrom 1.0 to 1.1.7, my winelib app that uses
>> __TRY no longer links. It complains that RtlUnwind cannot be found. I
>> can see that RtlUnwind was added to wine/exception.h, but I am not sure
>> how to fix it.
>> I tried adding -lntdll and -lwine to the link command line but it didn't
>> help. Any suggestions?
> Yes, you need to link to ntdll. Linking to libwine shouldn't be
> necessary. Please post the command line you are using and errors you
> are getting even when you link to ntdll.

This should be fixed in git now, Alexandre added C++ wrappers for
exported APIs into public Wine .h files.


More information about the wine-devel mailing list