Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSVCRT.DLL is Linked to missing export ..... Help.

Status
Not open for further replies.

medicompjp

Programmer
Jan 30, 2003
1
US
Recently I changed operating systems to Windows XP Pro. I updated a program that I dist. and now whenever it is installed on a Windows 98se machine the following error occurs. "MSVCRT.DLL is linked to missing export NTDLL.DLL RtlGetNtVersionNumbers". This is followed by another message "You must reinstall Windows". Yuck....

The 98 machine will display this message on reboot after installing the Microsoft Installer prior to installing the actual program. This has never been a problem before. The program worked on any version of windows. The affected machine will not load windows, even in safe mode untill the file MSVCRT.DLL is reloaded with a previous version. Is their an update to fix this or what?
Thanks
 
You need to make sure that you build your project on the earliest version of Windows that you plan to support.

What happens is the linker brings in dependencies on various operating system DLLs (like the MS Visual C runtime DLL you found), and you can't ship backwards, only forwards onto newer releases.

You'll need to build on a different machine, or go back to Win98. Maybe a dual-boot will solve your problem, using something like BootMagic or Partition Commander?

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top