On Thu, Jan 26, 2017 at 8:56 AM, Alexandre Julliard julliard@winehq.org wrote:
Bruno Jesus 00cpxxx@gmail.com writes:
@@ -35,7 +35,7 @@ 111 stub DRAWDIBCHANGEPALETTE 112 pascal -ret16 DrawDibRealize(word word word) DrawDibRealize16 113 stub DRAWDIBTIME -114 stub DRAWDIBPROFILEDISPLAY +114 pascal -ret16 DrawDibProfileDisplay(segptr) DrawDibProfileDisplay16
segptr is not correct if you pass the pointer to 32-bit code.
Thanks for the reply, I wrote a 16-bit app that calls DrawDibProfileDisplay [1][2] and indeed when I try to access any data in the struct inside Wine it crashes. It worked for the bug and games because the function is a stub and does nothing with the struct in msvfw32.
What should be done then?
[1] http://alexa.pro.br/~bruno/wine/msvideo.exe [2] http://alexa.pro.br/~bruno/wine/file.txt
Thanks in advance, Bruno