On Mon, Nov 06, 2017 at 07:36:26PM +0100, Alexandre Julliard wrote:
Marcus Meissner <marcus(a)jet.franken.de> writes:
From: Sebastian Lackner <sebastian(a)fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> Signed-off-by: Marcus Meissner <marcus(a)jet.franken.de> --- dlls/oleaut32/tmarshal.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-)
The existing code is ugly, and instead of trying to retrofit 64-bit support into it, I'd suggest looking into reusing the rpcrt4 routines which already handle pretty much all of this in a more correct way.
I will try to take a look, but I do not see the approach to take yet. We would need to map typelib trees to midl codes/ ndr call trees to be able to handle this? Also please consider my original fix, where I just turned a crashing test into a regular fail: https://source.winehq.org/patches/data/138221 Ciao, Marcus