Set up the COM interface.