http://bugs.winehq.org/show_bug.cgi?id=8036
------- Additional Comments From sick_soul@yahoo.it 2007-18-04 01:25 ------- Created an attachment (id=5839) --> (http://bugs.winehq.org/attachment.cgi?id=5839&action=view) winedbg trace for getprivateprofilestring
I traced the calls from the application, and that's exactly how the win32 profile apis are called in the program, I really don't know what's screwing things up.
I attach as example a winedbg trace that shows how the app calls GetPrivateProfileStringA with an empty string as section name. Parameters are dumped in order, first the unicode version, then the ANSI.
Sorry if I state the obvious, but have you tried if you get the crash even without my changes to the test?