http://bugs.winehq.org/show_bug.cgi?id=18633
--- Comment #5 from Thomas Stromberg thomas+wine@stromberg.org 2009-05-26 15:43:08 --- Your right, the crash does look different with that environment variable:
wine: Call from 0x7b844583 to unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap, aborting wine: Unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap called at address 0x7b844583 (thread 0009), starting debugger... Unhandled exception: unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap called in 32-bit code (0x7b844583).
Also, the file search I did previously was a bad one.
$ find /home/tstromberg/.wine/drive_c -iname "*gdi*" /home/tstromberg/.wine/drive_c/Program Files/Adobe/Adobe Photoshop Lightroom 2.3/GdiPlus.dll /home/tstromberg/.wine/drive_c/users/tstromberg/Local Settings/Application Data/GDIPFONTCACHEV1.DAT /home/tstromberg/.wine/drive_c/windows/system32/gdi32.dll
So, it would seem that Lightroom ships with a version of GdiPlus.dll.
This troubles me because anyone who wants to try to run Lightroom has to know about this environment variable to use the native GDI (and even then, it crashes).