Answers Database


2.1i Install: Design Manager throws an exception on startup


Record #6469

Product Family: Software

Product Line: M1 Graphical/General

Product Part: Install

Product Version: 2.1i

Problem Title:

2.1i Install: Design Manager throws an exception on startup


Problem Description:
Urgency: Standard

General Description:
On some PCs, after an install of the software, Design Manager will crash with an exception (stack ov erflow).
This appears to be caused by trying to access a Microsoft DLL with a different version. The Installe r puts all
of the DLLs it needs in the bin\nt directory, but that directory is written into the PATH after the Operating
System directories. So if the user has a non-compatible version of one of the shared DLLs then Desig n
Manager will try to use it (because it is found first in the PATH), and a stack overflow results.


Solution 1:

The workaround is to move Xilinx before the Operating System directories, so that our version is fou
nd before
the incompatible ones. Another option is to remove the offending DLLs from the System directory. It
appears
to be either MFC42.DLL or MSVCRT.DLL. In the one case we have:
MFC42.DLL -> 4.21.7303 (sys32) ;	4.21.7160(xilinx)
MSVCRT.DLL -> 5.00.7303(sys32);     5.00.7128(xilinx)

Our version of MFC42.dll represents Visual C++ 5.0, Service Pack 1, while the version in the System3
2 directory
represents VC++ 5.0, Service Pack 3. I couldn't find a comparable version history for msvcrt.




End of Record #6469 - Last Modified: 06/21/99 15:39

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!