[Bug 12838] Spiceworks IT Desktop: Wine corrupts bitmap files during extraction from installer

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 3 01:28:30 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=12838





--- Comment #9 from dimaki <dimaki at rocketmail.com>  2009-01-03 01:28:29 ---
Looked into this a bit further. What I found is that I was a little bit off as
to one of the paramters passed into WritePrivateProfileStringA and what
actually happens. For the third parameter, a pointer to the following character
string is passed:"0" making the actual call
WritePrivateProfileStringA("Settings", "RTL", "0", path to bmp file). This
results in the following actually being written a the end of the bmp files in
question on a Windows system:
[Settings]
RTL=0 

The bitmap files remains viewable afterwards and get displayed in the
installer's wizard. 


In Wine on the other hand the bmp files gets corrupted and are outputted by the
call to this function much smaller then they originally were, instead of being
slightly larger. Because the files are corrupted, they do not display in the
installer's wizard.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list