Solved

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

Posted on 2001-06-06
8
144 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

726 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