Solved

Run on 98/Me will not run on Win95/WinNT?

Posted on 2001-06-06
8
145 Views
Last Modified: 2010-05-02
I have an application that I developed, and it will execute without a problem, when ran on Win98 or Me.  However, if I install it on Win95 it crashes, and gives a runtime error.  Also, if I run it on WinNT, it does the same and gives me runtime error 439.  Can anyone tell me how to fix this?  
0
Comment
Question by:aj85
[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
8 Comments
 
LVL 1

Expert Comment

by:morgan_peat
ID: 6163082
Error 439, or 429?
If it's 429 (ActiveX component can't create object) it is most probably because you don't have some relevent software installed on those other machines.
Do you rely on any 3rd party controls, or DB access?

The only other thing is if you are using any WIN32 API calls.  Sometimes particular API's are only available on more modern (W2k, NT, ME, 98) OS's.

Post the API's you use (if there are only a few of them) and I can check their compatability.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6163573
Have you successfully installed the package created with the Package & Deployment wizard?
0
 

Author Comment

by:aj85
ID: 6166355


Morgan,

I have many API calls that I am making, if this is a problem with Win95, how do I over come it?  Also, I will check the third party control.

Emoreau,

Yes, I have built the setup using the package deployment wizard.  It did not work either.  Any other suggestions?

Thanks both of you,
aj85
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 5

Expert Comment

by:gwgaw
ID: 6166564
Error 439 is an OLE automation type mismatch error.

Check the versions of olepro32.dll on Win95/98/NT.
0
 
LVL 1

Accepted Solution

by:
morgan_peat earned 100 total points
ID: 6166907
Some API's just will not work on W95 (because you are trying to do stuff that is only available on NT), and others have different names / versions.

Do you know if your code manages to execute before it crashes, or if it crashes on load (eg. while it's trying to load all the referenced components).

If you manage to get to sub main() or Form_Load(), then try putting in some debugging - write to a log file or something at each major point in code.  That should help you to track down where exactly the error is.

(or put line numbers in your code, and show the line number on any error)
0
 

Author Comment

by:aj85
ID: 6167687

Morgan,

That is good advice, I will try it.  The code crashes upon loading, i.e. when you execute the application it gives the error.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7133366
Hi aj85,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept morgan_peat's comment(s) as an answer.

aj85, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Author Comment

by:aj85
ID: 7148263
Thanks for your help.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

690 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