?
Solved

Runtime Error 430 & scrrun.dll

Posted on 2004-04-20
9
Medium Priority
?
3,089 Views
Last Modified: 2010-05-18
Hi,

I just made a small tool in which I referrenced to scrrun.dll,
I created a custom setup with NSIS
when I install the app on Win2000 all is OK but when  I install it on 98 I get runtime error 430 when I fire up the program.
I think this might have something to to with the version of the dll but don't know how to handle it best.
A while ago I made anothter prog with references to the same file, I included it in the setup but when I installed it on XP I got the message from XP that the file was replaced and got asked to put in the install cd to fix it.
I do my programming in Win2000.
What is the best thing to do here, include it in the setup
if so which version
I would like it to run on all systems :)

thanks a lot in advance,

Wietse.
0
Comment
Question by:TheWiep
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 18

Expert Comment

by:Sethi
ID: 10875551
There should not be any problem with scrrun.dll in win98 as I generally do the same what you do and have the same setup as yours. The only differnce is that I use Inno.

Make sure of two points:
1. You copy and register scrrun.dll in System folder in win98 instead of system32.
2. Restart win98 after installing the app.
0
 

Author Comment

by:TheWiep
ID: 10875593
thanks for the reply

in the installer of 98 I didn't include the dll
I also didn't restart (pretty dumb of me :) )
haven't been using 98 in a while..
So according to you there should be no problem when I install and register the dll of Win2000 to either 98 and XP?
0
 

Expert Comment

by:itdanushka
ID: 10876825
What is the program that you use to create setup program? You can use Package & Development wizad Provided with Visual studio to create setup program. It will include all the dll files that are needed by the program and when installing the product it will install them to correct place. (acording to the OS)

Good luck
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 18

Expert Comment

by:Sethi
ID: 10876868
TheWiep, there wont be any problem at all. It will work.
0
 
LVL 2

Accepted Solution

by:
PaulS_III earned 500 total points
ID: 10877048
My past experience has been to include the scrrun.dll from the machine the program was developed on. I have run into that problem more than once, enough times to know I need to do it :).

Try putting the scrrun.dll from your development machine in your setup, and have it replace the one on the target only if the target dll is older than the one you are installing.

Hope that helps.
0
 

Author Comment

by:TheWiep
ID: 10881834
I develop in Win2000
so if I only need to copy the and register the file from my Win2000 if I was to install it on 9X or NT4
If I want to install it on XP I don't have to copy
0
 

Author Comment

by:TheWiep
ID: 10881858
So I only have to copy and register the new file if I want to install it on 9X or NT
and if I want to install it on XP I don't have to do this

So if I understand correctly it will work with newer versions of scrrun.dll but not with older
0
 
LVL 2

Expert Comment

by:PaulS_III
ID: 10881986
Yes, that has been my experience.

Let me know
0
 

Author Comment

by:TheWiep
ID: 10882317
will try it this weeked cause the 98 is not on my pc :)
will let you know

thanks for the help
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

743 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