https://bugs.winehq.org/show_bug.cgi?id=3864
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED CC| |focht@gmx.net Summary|RedMon does not work |RedMon v1.7/1.9 | |(Redirection Port Monitor) | |fails to install/run
--- Comment #28 from Anastasius Focht focht@gmx.net --- Hello folks,
honestly, the ticket has been recycled for a long time for various issues. Please avoid meta-bugs and split it into bug reports dealing with *individual* issues.
--- snip --- $ WINEDEBUG=+seh,+relay,+localspl wine ./setup.exe >>log.txt 2>&1 ... 0045:Call user32.MessageBoxA(00000000,0033fd10 "Do you want to install the RedMon redirection port monitor?",0040bb00 "RedMon - Redirection Port Monitor",00000004) ret=00401673 ... 0045:trace:localspl:fpAddMonitor ((null), 2, 0x33fb48): L"Redirected Port" L"Windows NT x86" L"redmon32.dll" 0045:trace:localspl:validate_envW (L"Windows NT x86") ... 0045:trace:localspl:validate_envW => using 0x7e7a05b0: L"Windows NT x86" 0045:trace:localspl:monitor_load (L"Redirected Port", L"redmon32.dll") ... 0045:Call KERNEL32.LoadLibraryW(0013c5f8 L"redmon32.dll") ret=7e799d66 ... 0045:Ret KERNEL32.LoadLibraryW() retval=10000000 ret=7e799d66 0045:trace:localspl:monitor_load 0x10000000: LoadLibrary(L"redmon32.dll") => 0 0045:Call KERNEL32.GetProcAddress(10000000,7e7a0683 "InitializePrintMonitor2") ret=7e799e1f 0045:Ret KERNEL32.GetProcAddress() retval=1000af00 ret=7e799e1f 0045:Call KERNEL32.GetProcAddress(10000000,7e7a069b "InitializePrintMonitorUI") ret=7e799e39 0045:Ret KERNEL32.GetProcAddress() retval=1000af20 ret=7e799e39 0045:Call KERNEL32.GetProcAddress(10000000,7e7a06b4 "InitializePrintMonitor") ret=7e799e53 0045:Ret KERNEL32.GetProcAddress() retval=00000000 ret=7e799e53 0045:Call KERNEL32.GetProcAddress(10000000,7e7a06cb "InitializeMonitorEx") ret=7e799e6d 0045:Ret KERNEL32.GetProcAddress() retval=00000000 ret=7e799e6d 0045:Call KERNEL32.GetProcAddress(10000000,7e7a06df "InitializeMonitor") ret=7e799e87 0045:Ret KERNEL32.GetProcAddress() retval=00000000 ret=7e799e87 0045:trace:localspl:monitor_load 0x1000af00: L"redmon32.dll",pInitializePrintMonitor2 0045:trace:localspl:monitor_load 0x1000af20: L"redmon32.dll",pInitializePrintMonitorUI 0045:trace:localspl:monitor_load (nil): L"redmon32.dll",pInitializePrintMonitor 0045:trace:localspl:monitor_load (nil): L"redmon32.dll",pInitializeMonitorEx 0045:trace:localspl:monitor_load (nil): L"redmon32.dll",pInitializeMonitor ... 0045:trace:localspl:monitor_load 0x100155f4: MONITORUI from L"redmon32.dll",InitializePrintMonitorUI() 0045:trace:localspl:monitor_load 0x00000010: dwMonitorSize (16) 0045:fixme:localspl:monitor_load L"redmon32.dll",InitializePrintMonitor2 not implemented ... 0045:trace:localspl:monitor_load => 0x132378 0045:trace:localspl:monitor_unload 0x132378 (refcount: 1) L"Redirected Port" 0045:Call KERNEL32.FreeLibrary(10000000) ret=7e7999f7 ... 0045:Call advapi32.RegCreateKeyW(80000002,7e7a02c0 L"System\CurrentControlSet\Control\Print\Monitors\",0033fa34) ret=7e79d0ff 0045:Ret advapi32.RegCreateKeyW() retval=00000000 ret=7e79d0ff 0045:Call advapi32.RegCreateKeyExW(00000068,001389c0 L"Redirected Port",00000000,00000000,00000000,00020007,00000000,0033fa30,0033fa2c) ret=7e79d183 0045:Ret advapi32.RegCreateKeyExW() retval=00000000 ret=7e79d183 0045:Call advapi32.RegSetValueExW(0000006c,7e7a0100 L"Driver",00000000,00000001,0013c5f8,0000001a) ret=7e79d25c 0045:Ret advapi32.RegSetValueExW() retval=00000000 ret=7e79d25c ... 0045:Call user32.MessageBoxA(00000000,0033f9e4 "Installation successful.",0040bb00 "RedMon - Redirection Port Monitor",00000000) ret=004010f7 ... 0045:Call KERNEL32.ExitProcess(00000000) ret=004025e2 --- snip ---
The installation of the printer port monitor is successful, the fixme in console is harmless.
Running 'enum.exe' after installation outputs:
--- snip --- $ wine ./enum.exe
PrintProcessorDirectory = C:\windows\system32\spool\prtprocs\w32x86
Printers: 0 bytes 0
Printer Drivers: 0 bytes 0
Ports: (buffer = NULL, length = 0) 0009:fixme:localspl:monitor_load L"redmon32.dll",InitializePrintMonitor2 not implemented 408 bytes 0
Ports: 408 bytes 8 "COM1:" "Local Monitor" "Local Port" 1 "COM2:" "Local Monitor" "Local Port" 1 "COM3:" "Local Monitor" "Local Port" 1 "COM4:" "Local Monitor" "Local Port" 1 "FILE:" "Local Monitor" "Local Port" 1 "LPT1:" "Local Monitor" "Local Port" 1 "LPT2:" "Local Monitor" "Local Port" 1 "LPT3:" "Local Monitor" "Local Port" 1
Monitors: 107 bytes 2 0: "Local Port" "Windows NT x86" "localspl.dll" 1: "Redirected Port" "Windows NT x86" "redmon32.dll"
PrintProcessors: 13 bytes 1 "winprint"
PrintProcessorDatatypes (WinPrint): 0009:fixme:winspool:EnumPrintProcessorDatatypesA Stub: (null) "WinPrint" 1 0x40dce0 65536 0x40dcc0 0x41dce0 13 bytes 1 EnumPrintProcessorDatatypes() failed --- snip ---
Resolving here.
$ wine --version wine-3.0-rc5
Regards