What happened to __TRY?

Rob Shearman robertshearman at gmail.com
Thu Nov 6 10:44:42 CST 2008

2008/11/6 Michael Ost <most at museresearch.com>:
> Hi all,
> 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.

Rob Shearman

More information about the wine-devel mailing list