Here's an idea... Instead of writing a whole RTTY/CW demod/transmit into DX4Win, why not have it take advantages of the DLL hooks available in an existing piece if software, like DXSoft's TrueTTY and CWGet? The docs from DXSoft to do this are available at http://www.dxsoft.com/dxs-exch.zip