BOOL OpenReceiver( HWND mainwnd, char *maindir, UINT
if -1 RadioJet is not properly in the
USB-Port, poor contact, remove the device and connect it again
if 1 RadioJet is ready
else the RadioJet is not ready.
this is the message window for all the main frame
if this NULL, the we set only the mainwnd
and come back ,
because the window did not exist
otherwise the DLL is installed
and the working directory is
set to that name.
for the default
ID set PID =
it may be you have a different
PID, such as
a 2nd RadioJet.
this is the first call to
connect the Receiver.