http://bugs.winehq.org/show_bug.cgi?id=20867
--- Comment #24 from Jussi Saarinen jussaar@mbnet.fi 2012-03-17 14:08:36 CDT --- (In reply to comment #23)
Can you reproduce the problem with musictime 1.2? I can't find a legal download for version 2.0 anywhere. Do you know where it can be downloaded?
That is a demo version, which unfortunately can't save or print scores. Music Time 2.0 isn't free software (not even free as in beer), and as far as I know, it isn't sold anymore.
I have managed to get some debug logs. So far all I have managed to find from the logs are these:
With Save-command:
0024:Call KERNEL.86: _LWRITE(0005,12af:0000,0b82) ret=1207:023a ds=121f 187.445:0024:Call KERNEL32._hwrite(00000094,00436ae8,00000b82) ret=7e8f3c1d 187.445:0024:trace:file:_hwrite 148 0x436ae8 2946 187.445:0024:trace:file:WriteFile 0x94 0x436ae8 2946 0x6fdc9c (nil) 187.445:0024:trace:ntdll:NtWriteFile (0x94,(nil),(nil),(nil),0x6fdc38,0x436ae8,0x00000b82,(nil),(nil))! 187.445:0024:trace:ntdll:NtWriteFile = SUCCESS (2946) 187.445:0024:Ret KERNEL32._hwrite() retval=00000b82 ret=7e8f3c1d 0024:Ret KERNEL.86: _LWRITE() retval=00000b82 ret=1207:023a ds=121f
And with Save As -command:
0024:Call KERNEL.86: _LWRITE(0005,12af:0000,0b22) ret=1207:023a ds=121f 179.415:0024:Call KERNEL32._hwrite(000000ac,00436ae8,00000b22) ret=7e8f3c1d 179.415:0024:trace:file:_hwrite 172 0x436ae8 2850 179.415:0024:trace:file:WriteFile 0xac 0x436ae8 2850 0x6fdc9c (nil) 179.415:0024:trace:ntdll:NtWriteFile (0xac,(nil),(nil),(nil),0x6fdc38,0x436ae8,0x00000b22,(nil),(nil))! 179.415:0024:trace:ntdll:NtWriteFile = SUCCESS (2850) 179.415:0024:Ret KERNEL32._hwrite() retval=00000b22 ret=7e8f3c1d 0024:Ret KERNEL.86: _LWRITE() retval=00000b22 ret=1207:023a ds=121f
MusicTime seems to write the file in four separate chunks. This is the last one. I noticed that the write command is called in Save As -case with a length that is 96 smaller than in Save-case. This is the exact same amount in bytes that is missing from the files end. I haven't figured out yet why it does that.
I can post complete logs somewhere, if you think they can help. The logs are from the point that I click the save command (from File-menu) and the save as-command (clicking save as -button from the Save as dialog box) to the point that I click File-menu to exit the program after. I can also get longer logs, or logs with more or less details (these logs are with WINEDEBUG=+all).