w7sst / MorseRunner

Morse Runner Community Edition
Mozilla Public License 2.0
68 stars 12 forks source link

N1MM Integration for MR CE #168

Open n2ic opened 1 year ago

n2ic commented 1 year ago

Summary

Add integration with N1MM+ for 1.82.

w7sst commented 1 year ago

Excellent start.

When you are copying in code, be sure to start with the branch that I sent you earlier this year, it was called fd-proto-n1mm-mr-64. this branch is already similar to the code in our main branch.

When you encounter the new debug messages (which only compile in Lazarus), add a // in front of them. It would be best if you do this step (adding the comments) as a separate commit in case we ever want to undo this action.

I'll write more this evening.

Let me know how you progress today.

Thanks, Mike

n2ic commented 1 year ago

Looking for a little help...

In merging the N1MM integration, I added a new procedure in SndOut.pas.

I then added SndOut to the uses section of Main.pas:

[image: image.png] The error is "Could not compile used unit Vcl.SndOut"

What am I missing ?

Thanks, Steve, N2IC

Message ID: @.***>

n2ic commented 1 year ago

Never mind....Got that one figured out.

73, Steve, N2IC

On Thu, Dec 15, 2022 at 4:57 PM Steve London @.***> wrote:

Looking for a little help...

In merging the N1MM integration, I added a new procedure in SndOut.pas.

I then added SndOut to the uses section of Main.pas:

[image: image.png] The error is "Could not compile used unit Vcl.SndOut"

What am I missing ?

Thanks, Steve, N2IC

Message ID: @.***>

w7sst commented 1 year ago

Hi Steve, Glad to see you making progress. BTW, I will be leaving town for 10-12 days and will not have computer access. I will try to stay up via email and responding to these github conversations. I look forward to working on this again next month with you. Have a Merry Christmas! 73, Mike

n2ic commented 1 year ago

Can anyone on the team help me with a Windows message loop for handling WM_ messages from N1MM Logger ? Here's what worked in Lazarus:

var PrevWndProc: WNDPROC; In FormCreate: @.***)));

and then the callback, waiting for WM_ messages from N1MM Logger:

function WndCallback(Ahwnd: HWND; uMsg: UINT; wParam: WParam; lParam: LParam):LRESULT; stdcall; ....Case statements handling WM_ messages result:=CallWindowProc(PrevWndProc,Ahwnd, uMsg, WParam, LParam); end;

The Delphi Windows API is very different. There is no Windows.WNDPROC, for example. Did some googling, but didn't find any straightforward examples of doing this.

Thanks, Steve, N2IC Message ID: @.***>

n2ic commented 1 year ago

I posted this on Stack Overflow. Maybe one of you folks has the answer. https://stackoverflow.com/questions/74856696/wm-copydata-from-vb-net-to-delphi-10-4

w7sst commented 1 year ago

Hi Steve, How are you doing? I haven't heard from you in a while. Let me know if there is anything I can do to help.

I've been making progress on adding K1USN Slow Speed Contest (SST). Turns out the CWOPS CW Training group is interested in using MRCE as part of their training tool for training new operators for contesting.

We are also getting two contests added by jr8ppg - JARL All Japan and JARL ACAG (All Cities All Guns), both domestic JA contests. We are currently working through code review of his Pull Request. He had independently done this work on a separate branch and is integrating it within MRCE now. Very exciting to see additional contributors.

w7sst commented 1 year ago

@n2ic Hi Steve, I hope all is going well for you. I was wondering how your work is progressing on this project and if you had any updates. Let me know how I can help.

Thanks and 73, Mike W7SST