Solved

My VB App Killed Windows 98

Posted on 2002-06-27
7
175 Views
Last Modified: 2010-05-02
I killed someone's Windows 98 machine with my VB app.  Looking for the fix.

I built the VB app on my XP machine.  Compiled it into an exe.  Used the Visual Studio Package and Deployment wizard to create an installation package.  

When I ran the installation on my client's machine (Windows 98), it hosed her Outlook installation, and created problems with Office.

I assume that some of the dependent stuff included in the installation package caused the problem.

The specific error happening in Outlook is:

msvcrt.dll file is linked to missing export ntdll.dll:rtGetNtVersionNumbers

What do I have to do to fix my client's Windows 98 machine?

0
Comment
Question by:Danimal
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Expert Comment

by:Benjy
ID: 7113926
listening
0
 
LVL 6

Accepted Solution

by:
marconovaro earned 50 total points
ID: 7114123
I think you shall reinstall the original version of both files....

Have a look to:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q191057

to find the correct versions.
Marco
0
 
LVL 1

Author Comment

by:Danimal
ID: 7114147
yes, the reinstall of those files is what fixed it.  Got the right versions on another machine in the client's office.

Thanks for the help.
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
LVL 6

Expert Comment

by:marconovaro
ID: 7114240
Thanks for the "A" :)
0
 
LVL 1

Expert Comment

by:Benjy
ID: 7114259
Hi,
the same thing happened to me. do you know how to prevent this from happening in the future?
0
 
LVL 6

Expert Comment

by:marconovaro
ID: 7114287

Have a look here:

http://news.jrsoftware.org/news/innosetup/msg15336.html

(It's the newsgroup of the program that I'm using for setup (Inno Setup))

there are some people with the same problem as you, and they solved it!! :)
I fast read it, and it seems that the problem is redistributing the wrong version of msvcrt.dll. Please note also that the ntdll.dll is NOT redistributable.
Marco
0
 
LVL 1

Author Comment

by:Danimal
ID: 7114300
I think this is a complicated issue.  I assume there is a well-known approach for dealing with it.

This specific problem was caused by the fact that my installation package included a version of msvcrt.dll that is incompatible with Windows 98.  msvcrt.dll is the Microsoft C Runtime Library.

The installation package included that file, because the Visual Studio Package and Deployment Wizard determined that this file is necessary for my app to work, based on the project components and references.  I guess if I had built the installation package using a Windows 98 machine, then the package would have included the right version of the DLL for Windows 98.

Seems to me that the installation package-building software needs to be sophisticated enough to provide different versions of system dlls for different target platforms, which means it would need to maintain a library of different DLL versions for different platforms....

Is this anywhere in the ballpark?
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question