Make sure you have the correct support libraries in the application's startup directory or at least in the search path.
You may need to check around to find the exact version information but the files should be in the install directory.
Look for *.ES? files.
You should have a couple FOXD____.ESL files, and a FOXD____.ESO file.