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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiled in XP but does not work in Win95/98/XP, WHY?

Status
Not open for further replies.

axg1me

Technical User
May 1, 2003
1
MX
I'm working with win xp and I have finished my program. I made a setup program that works fine in other machines running XP but it doesn't work under win 95/98/Me. Anybody knows why??? help please!
 
As a rule always compile on the lowest version machine.
XP is generally backward compatible....98 could not be forward compatible with OS's they didn't know about when they made it. That said its probably some control you use that is not on 98.
 
>but it doesn't work under win 95/98/Me

Well, that seems to be somewhat of a weak question.
Just what does or doesn't happen? (errors etc).

First of all, is DCom 95/98 installed on those machines and are you distributing the MDAC, if needed by your application?

Secondly, do you have any API calls specific to the NT OS, or even specific to W2000/XP?

Thirdly, you didn't say which installation program you are using. If you are using the P&D wizard, the look in the PDWizard\Redist folder in your VB6 directory to see if the items there are of the same version as your program is actually using.

There are many more things to check for but start with these.
 
Allways compile under the os you are developing for
 
>Allways compile under the os you are developing for

That's a little too restrictive for me to accept as an option or solution.
This may be a solution if your installation program is trying to install system/protected files, but maybe a better option would be to not ship these and have the client upgrade to the newest OS service pack it things still do not work, or make sure the program you are writing and all of it's dll's and OCX's are first 100% compatible with a lower OS version.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top