http://bugs.winehq.org/show_bug.cgi?id=25201
--- Comment #5 from sledge simaskonfa@gmail.com 2010-11-24 05:12:48 CST --- Created an attachment (id=32108) --> (http://bugs.winehq.org/attachment.cgi?id=32108) calls CLRMetaHost_GetVersionFromFile from GetFileVersion
(In reply to comment #3)
This particular function should be very easy to implement, as we already have CLRMetaHost_GetVersionFromFile. GetFileVersion should just forward to that. I think I've used other CLRMetaHost_* functions in this way, using 0 as the first argument.
Would this patch work according to your comment?
It does not give me any longer an error, but the software I'm trying to launch later fails with
Stacktrace:
at (wrapper managed-to-native) <Module>._wWinMainCRTStartup () <0x00004> at (wrapper managed-to-native) <Module>._wWinMainCRTStartup () <0xffffffff> at (wrapper runtime-invoke) <Module>.runtime_invoke_int (object,intptr,intptr,intptr) <0xffffffff>
abnormal program termination
But that is most probably because it's a custom software, written in MFC and compiled with .NET ....@['_*&§# :)
Can somebody please confirm it works by writing a small GetFileVersion(...) test.exe; and get this patch applied?
Cheers;