http://bugs.winehq.org/show_bug.cgi?id=60177 Bug ID: 60177 Summary: Microsoft Agent 2.0: Characters.Load fails with 0x80042001 (custom marshaling of the notify sink never reaches AgentSvr) Product: Wine Version: 11.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@list.winehq.org Reporter: wehrwolfmann@gmail.com Target Milestone: --- Distribution: --- Microsoft Agent 2.0 does not work under Wine. Any app built on it fails the same way: the client connects to the server, but every Characters.Load returns 0x80042001, "The specified Agent client was not found". The character file is never even opened. Three lines of VBScript are enough, no third-party app needed. With MS Agent 2.0 Core installed into the prefix, run this with the 32-bit cscript (wine C:\windows\syswow64\cscript.exe /nologo agent.vbs): Set a = CreateObject("Agent.Control.2") a.Connected = True a.Characters.Load "Bonzi", "C:\windows\msagent\chars\Bonzi.acs" Steps 1 and 2 succeed, step 3 fails with 0x80042001. What I see with WINEDEBUG=+ole. AgentSvr starts fine and hands the client its IAgentEx through MS Agent's own custom marshaler (AgentMPx.dll) — that direction works, the client gets a usable proxy. Then the client marshals its notify sink back: CoMarshalInterface {00000000-0000-0000-c000-000000000046}, dwDestContext=2, custom CoMarshalInterface completed with hr 0 and the server never unmarshals it — there is not a single "Using custom unmarshaling" in the server process for the whole run. So the server has no registered client and answers Load with "client not found". With WINEDEBUG=+file you can see the character file is located and then dropped: FindFirstFileExW on C:\windows\Msagent\CHARS\Bonzi.acs finds it, but NtCreateFile is never called on it. The failure is well before any file I/O. I also tried the workaround from the AppDB entry for Animation:Master (start AgentSvr.exe by hand first, set it to Windows 98 in winecfg). It changes nothing here. Tested on wine-11.15, 32-bit MS Agent 2.0 Core in a clean WoW64 prefix. I can attach the +ole logs for both the script and a real application if that helps. -- 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.