|
NaturallySpeaking Unofficial Information Pages
The Insider's Guide to Dragon NaturallySpeaking by Joel Gould |
NatLink InstallationLast Modified: February 24, 2001 System RequirementsIn order to install and use NatLink, you need to have the following software installed.
In addition, if you want to recompile the NatLink C++ programs you will need the following software. Recompiling the NatLink C++ programs is not required in order to use NatLink.
Installation InstructionsTo install NatLink follow these instructions.
Support for Multiple Python VersionsAll of the NatLink Python files will run under either Python 1.5.2 or Python 2.0 without modification. However, C++ extension modules must be compiled against specific versions of Python. Therefore, I have created two versions of each extension module, one for Python 1.5.2 and one for Python 2.0. The file Natlink\NatlinkSource\natlink15.dsw is a Microsoft Visual C++ workspace that builds NatLink\MacroSystem\natlink15.dll. This version of the DLL is linked against Python 1.5.2 libraries. Likewise, the workspace natlink20.dsw builds natlink20.dll, which is linked against the Python 2.0 libraries. When you run EnableNL.exe, it attempts to determine what version of Python you are running. If EnableNL thinks that you are running Python 1.5.2 then EnableNL makes a copy of natlink15.dll and stores it as NatLink\MacroSystem\natlink.dll. Likewise, if EnableNL thinks that you are running Python 2.0, it copies natlink20.dll into natlink.dll. The same scheme is used for mobiletools (mobiletools15.dll or mobiletools20.dll is copied into mobiletools.dll). It is unlikely, but possible, that EnableNL incorrectly decides that you are using Python 2.0 when you are using Python 1.5.2 (or visa-versa). Check the Python version detected when you run EnableNL to be sure. If EnableNL makes a mistake, you can hand copy the correct version of natlinkXX.dll into natlink.dll. Running the Natlink Selftest (not recommended)I have included a selftest suite for NatLink in the package. I do not recommend that you try the selftest suite. The selftest suite is picky about your system configuration and it does not work at all under version 5.0 of Dragon NaturallySpeaking. However, if you want to try the selftest suite, follow these instructions. If the selftest does not work, do not panic. Your NatLink installation probably works fine. Just write a macro file and see if it is recognized.
This web page (http://www.synapseadaptive.com/joel/NatLinkInstallation.html) was last modified on February 24, 2001. The contents of this page are (c) Copyright 1998-1999 by Joel Gould. All Rights Reserved. See Copyright Information for more details. |