30 June, 2001
Wayne Wright, W5XD

This is a sample TNC DLL that plugs into RttyRite.
WriteLog 10.27E or later is required.

The design is this:
1. You implement a COM object with the IWlTnc interface. 

2. RttyRite will find your COM object by looking for the following
two lines in WRITELOG.INI:

[RttyRite]
CustomTnc2MenuEntry=w5xd test
CustomTnc2ProgId=WriteLog.WlTncA.1

The digit "2" can be any of "1", "2", or "3"
The first INI entry shows up in RttyRite's "Tu Type" menu.
The second INI entry must be the COM ProgID for your COM object

3. When RttyRite instances your COM object, it calls you first on your
SetCallBack method, and that's how you tell it what characters you
have received, and how you find out what characters to transmit.

You can build this project as-is, to test that you have your
environment correct. Edit WRITELOG.INI per step (2) above and
install this project and select this tnc. You'll get a steady stream
of letters on receive, and it will echo what you transmit.

To make your own TNC, you need to change these things:

4. There are two GUIDs in WLTNC.IDL. Make up new ones.
5. One of those GUIDs much be changed to match in WLTNCA.RGS
6. The ProgIDs in WLTNCA.RGS need to be changed
7. All the names in WLTNC.IDL need to be changed.
