madewokherd / wine-mono

Other
280 stars 38 forks source link

RMS Express - TCP/IP communication issues? #116

Closed WheezyE closed 2 years ago

WheezyE commented 3 years ago

Hey all. I'd like to ask for help with a bug in wine-mono but I'm not entirely sure if this is the right place to ask for help.

My bug relates to RMS Express (a Windows-only .NET 3.5sp1 / Visual C program for ham radio) not being able to send/receive TCP/IP text commands to other programs on localhost listening for commands if it's run with mono.

If you want a quick script to get everything installed and working on x64 Linux Mint (using dotnet35sp1) run wget https://raw.githubusercontent.com/WheezyE/Winelink/main/docs/experiments/x86-64_Linux_distros/Debian-Ubuntu_x64.sh && bash Debian-Ubuntu_x64.sh Just as proof-of-concept. Then compare this behavior to running with wine-mono instead. This script hasn't been tested on Debian or Ubuntu so far, just Linux Mint

madewokherd commented 2 years ago

Hmm, looking at our definition of that function, it doesn't seem to match the MSDN documentation: https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.interaction.command

MSDN says that it returns just the command line arguments, but our version returns the exe filename as well. I don't know if it's related to the problem, but it should be fixable.

WheezyE commented 2 years ago

YEAH!!! That did it!

image

ARDOP connects and plays audio! I don't know if I can quite explain how big this is for me - it's been like 2.5-3 years at this point trying to get this to work. Thank you

madewokherd commented 2 years ago

For bookkeeping purposes, the fix for this bug is in Wine Mono 7.0.0.