Search found 144 matches

by madewokherd
Sat Apr 06, 2024 10:33 pm
Forum: Linux
Topic: Incorrect socket management behavior with .net application
Replies: 4
Views: 5838

Re: Incorrect socket management behavior with .net application

Based on Wine Mono test results, it's likely this is still an issue, as various socket tests are flaky. I'd been assuming it was the tests at fault.
by madewokherd
Thu Mar 07, 2024 5:07 pm
Forum: Wine Help
Topic: Is there no wine mono x64 for download?
Replies: 2
Views: 5319

Re: Is there no wine mono x64 for download?

The 32-bit and 64-bit libraries are combined in one package. Most of it is shared between cpu architectures.
by madewokherd
Fri Dec 08, 2023 1:33 pm
Forum: Linux
Topic: I want a user.reg file for wine that launches wine in shell desktop without it enabling virtual desktop in winecfg
Replies: 1
Views: 7983

Re: I want a user.reg file for wine that launches wine in shell desktop without it enabling virtual desktop in winecfg

Not really, that "Desktop"="shell" setting is how the "Emulate a virtual desktop" checkbox works, and as you can see the real setting in the registry is a string, not a boolean.

I guess someone could add another setting to winecfg for the taskbar.
by madewokherd
Mon Sep 11, 2023 4:03 pm
Forum: Linux
Topic: Wayland, Wine can't read clipboard.
Replies: 2
Views: 919

Re: Wayland, Wine can't read clipboard.

The interesting part happens in the explorer process when something is copied (you should see a trace from request_selection_contents), and in response to WM_RENDERFORMAT when the first attempt is made to paste.
by madewokherd
Wed Sep 06, 2023 2:17 pm
Forum: macOS
Topic: Command line Win32 application can't access file system
Replies: 2
Views: 20917

Re: Command line Win32 application can't access file system

0510:err:environ:init_peb starting L"C:\\Program Files\\nqc-win-3-1-r6\\nqc.exe" in experimental wow64 mode That line suggests you don't have a 32-bit install of Wine to run 32-bit applications, so it's using the 64-bit one (which should work in theory but is not well-tested). I don't know...
by madewokherd
Wed Sep 06, 2023 2:14 pm
Forum: macOS
Topic: How do I find my steam.exe in Wine?
Replies: 1
Views: 19288

Re: How do I find my steam.exe in Wine?

It's probably in ~/.wine/drive_c/Program Files (x86)/Steam.
by madewokherd
Fri Apr 14, 2023 3:54 pm
Forum: Linux
Topic: How do I prevent wine virtual desktop shell from automatically closing?
Replies: 4
Views: 3378

Re: How do I prevent wine virtual desktop shell from automatically closing?

This behavior is hard-coded and would have to be changed in the source code.
by madewokherd
Tue Nov 29, 2022 4:33 pm
Forum: Linux
Topic: When will Wine have no major incompatibilities with Windows applications?
Replies: 6
Views: 801

Re: When will Wine have no major incompatibilities with Windows applications?

I agree that it's not realistic, but that's not because of updates to Windows. It's the complexity and scope of the Windows API, combined with the unimaginable volume of Windows software that exists. There are simply too many ways that a Windows program can accidentally depend on implementation deta...
by madewokherd
Sat Nov 12, 2022 4:52 pm
Forum: Wine Help
Topic: Automatic installation of Mono
Replies: 1
Views: 2161

Re: Automatic installation of Mono

Hi,

Can you double-check by running 'wine uninstaller'? If things are set up correctly, it can do the per-prefix configuration silently.
by madewokherd
Sat Oct 29, 2022 3:41 pm
Forum: Wine Help
Topic: Wine flatpack version doesnt' create menu entry
Replies: 2
Views: 2857

Re: Wine flatpack version doesnt' create menu entry

I think the correct fix requires Wine to use this interface when running in flatpak: https://docs.flatpak.org/en/latest/port ... icLauncher

It may be possible to work around it for now by giving wine permission to access ~/.local/share.
by madewokherd
Fri Oct 21, 2022 4:02 pm
Forum: Linux
Topic: Can I call ".so" lib using Winelib on a native Windows Program?
Replies: 1
Views: 3109

Re: Can I call ".so" lib using Winelib on a native Windows Program?

It's not possible with Winelib.

You would essentially need the reverse of what Wine does - instead of a PE loader on Linux, you need an ELF loader on Windows, as well as replacements for whatever APIs the .so uses. It sounds possible to me, but I don't know of any project that does it.
by madewokherd
Sat Oct 15, 2022 3:54 pm
Forum: Wine Help
Topic: Does this mean anything to anyone?
Replies: 1
Views: 2086

Re: Does this mean anything to anyone?

It's not meaningful on its own. You'd need some sort of log to figure anything out, or examine ibrowse.dll but that approach tends to be harder.

I don't know how to gather logs on Android.
by madewokherd
Wed Sep 28, 2022 1:25 pm
Forum: Wine Help
Topic: Play media in dot net WPF app with MediaElement
Replies: 6
Views: 3776

Re: Play media in dot net WPF app with MediaElement

This is probably a bug in wmp. If you file a report on Bugzilla, maybe someone will be able to fix it.

There are probably alternatives that work, but I don't know any specific ones.
by madewokherd
Sat Sep 24, 2022 3:55 pm
Forum: Linux
Topic: Get X11 handles from HWND
Replies: 1
Views: 657

Re: Get X11 handles from HWND

The only way I can find to do this is to query the internal "__wine_x11_whole_window" property using the GetProp function. The X11 driver also has some custom commands that can be passed to ExtEscape, one of which seems to return a Drawable, but I don't know if this is useful for your purp...
by madewokherd
Sat Sep 24, 2022 9:17 am
Forum: Wine Help
Topic: Play media in dot net WPF app with MediaElement
Replies: 6
Views: 3776

Re: Play media in dot net WPF app with MediaElement

I looked up 0x80040273 and it's VFW_E_DDRAW_CAPS_NOT_SUITABLE. I think this may be an issue with your graphics drivers.
by madewokherd
Wed Sep 21, 2022 4:13 pm
Forum: Wine Help
Topic: Play media in dot net WPF app with MediaElement
Replies: 6
Views: 3776

Re: Play media in dot net WPF app with MediaElement

Hi, can you post the console output from your program? I'm just curious what's causing it to crash.

Installing .NET Framework might help.
by madewokherd
Tue Sep 20, 2022 12:58 pm
Forum: Wine Help
Topic: Wineboot /symlink
Replies: 2
Views: 2630

Re: Wineboot /symlink

Proton has a work-around that does this, but it's handled by the proton script (in Python) rather than Wine itself, and has some problems. The symlinks are visible to Windows programs, and in particular there's a way of getting file size that does not work for symlinks on Windows. Any installer that...
by madewokherd
Tue Jun 07, 2022 2:16 pm
Forum: Wine Help
Topic: Wine, Gamepass and the MS Store
Replies: 4
Views: 5406

Re: Wine, Gamepass and the MS Store

I don't think that's true, certainly there's no support for UWP applications. If it did have such a thing, it'd be in the modified wine tree which is LGPL and publicly available.
by madewokherd
Tue Apr 12, 2022 8:23 pm
Forum: Wine Help
Topic: Wine, Gamepass and the MS Store
Replies: 4
Views: 5406

Re: Wine, Gamepass and the MS Store

I don't think it makes much sense as long as the only supported way to obtain the software is using proprietary code that's part of Windows.
by madewokherd
Thu Mar 24, 2022 10:30 am
Forum: Linux
Topic: Wine and WINEPREFIX calling convention: same line, don't like non-absolute paths
Replies: 1
Views: 410

Re: Wine and WINEPREFIX calling convention: same line, don't like non-absolute paths

Uh, because that's how the Unix shell works. Shell variables aren't visible to programs as environment variables unless you use the export command (which applies to subsequent commands) or specify them on the same line (which is temporary). Wine also has no way of knowing what your working directory...
by madewokherd
Wed Mar 23, 2022 4:07 pm
Forum: Linux
Topic: How would you tell if wine crashed programmatically?
Replies: 7
Views: 1154

Re: How would you tell if wine crashed programmatically?

Not sure about return values, but I think it just takes the lower 8 bits. I should've just said "undefined". A C developer might declare their main method as "void main" or leave out the return statement. In practice it probably means whatever was in some hardware register when i...
by madewokherd
Tue Mar 22, 2022 3:16 pm
Forum: Linux
Topic: How would you tell if wine crashed programmatically?
Replies: 7
Views: 1154

Re: How would you tell if wine crashed programmatically?

One problem with checking the return value is that on Linux return values range from 0-255 while Windows has them as 32-bit values (you'd need to start the program from a Wine process to get the full return value). Also, the application could return any value under normal circumstances, and if the d...
by madewokherd
Mon Mar 21, 2022 3:36 pm
Forum: Linux
Topic: How would you tell if wine crashed programmatically?
Replies: 7
Views: 1154

Re: How would you tell if wine crashed programmatically?

Well, a single Wine process crashing doesn't necessarily mean the program you directly called will exit, and it appears the return code is determined by the exception code.

You can look for "wine: %s (thread %04lx), starting debugger..\n" from the start_debugger function.
by madewokherd
Sun Mar 20, 2022 9:12 pm
Forum: Linux
Topic: How would you tell if wine crashed programmatically?
Replies: 7
Views: 1154

Re: How would you tell if wine crashed programmatically?

I think you would have to modify or replace winedbg. Or do it less perfectly by scanning logs.
by madewokherd
Wed Mar 02, 2022 10:08 pm
Forum: Wine Help
Topic: Removed Z drive. Now cannot install wine-mono.
Replies: 3
Views: 2376

Re: Removed Z drive. Now cannot install wine-mono.

Exiting silently is the normal behavior, the msi has no GUI. You can run "wine uninstaller" to check if it installed.

I'm surprised it couldn't install the msi without a mapped drive though. Maybe it needs an absolute path since the working directory is wrong?