http://bugs.winehq.org/show_bug.cgi?id=26962
Summary: running sysocmgr.exe required OCMANAGE.dll.pSetupMalloc Product: Wine Version: 1.3.18 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com
1. copy native sysocmgr.exe from Windows XP 2. run sysocmgr.exe on wine: $ wine sysocmgr.exe /i:caller.inf (See [1] for details about sysocmgr.exe)
Get errors as below:
err:module:import_dll Library OCMANAGE.dll (which is needed by L"C:\windows\system32\sysocmgr.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\windows\system32\sysocmgr.exe" failed, status c0000135
3. rename a stub dll to ocmanage.dll and copy it to system32/ , then run sysocmgr.exe again:
$ wine sysocmgr.exe /i:caller.inf This time occur a crashing:
wine: Unimplemented function SETUPAPI.dll.pSetupMalloc called at address 0x7bc4a4e0 (thread 003c), starting debugger... --- Backtrace: =>0 0x7bc4a4e0 stub_entry_point+0x50(dll="SETUPAPI.dll", name="pSetupMalloc", ret_addr=0x5f015b53) [/home/fracting/wine-git/dlls/ntdll/loader.c:197] in ntdll (0x0032e830)
maybe a stub pSetupMalloc will help?
[1]How to reinstall the Smart Card service on Windows XP http://lazybit.com/index.php/2007/12/19/windows_xp_re_install_smart_card_ser...