Creating a program to run under various OS

Reply

Join Date: May 2005
Posts: 41
Reputation: mrmike is an unknown quantity at this point 
Solved Threads: 0
mrmike mrmike is offline Offline
Light Poster

Creating a program to run under various OS

 
0
  #1
Sep 7th, 2005
I've been creating a small program, thats work fine under windows xp, but fails on windows 2000 pro/server, and also windows 98.

I need the software to work on also windows versions, etc 95 and ME.

I can't install it as it is a check to ensure that various software has been installed before shipping out to customer, so having to run directly by floppy and usb.

any ideas? I'm using Delphi 6 at moment

thanks
mrmike
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Re: Creating a program to run under various OS

 
0
  #2
Sep 14th, 2005
If you have the time to spare, and a copy of the OS'es available, you can get vmware, which'll let you install the copies of previous versions of windows in a virtual machine - so it doesnt affect your existing hardware. Other than that, theres no way you can guarantee that the program will run properly - different versions of windows have too many coding differences to make it possible.

get vmware from www.vmware.com

if this isn't possible, then if you can find someone still using a copy of win95, thats the only way to do it!

S Bedford
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 6
Reputation: neverwinter is an unknown quantity at this point 
Solved Threads: 0
neverwinter neverwinter is offline Offline
Newbie Poster

Re: Creating a program to run under various OS

 
0
  #3
Sep 15th, 2005
Have you verified which functions failed? I suggest not to use anything that's specific to a particular OS version.

Also, better test your program on each of the OS you need to support. Only way to be really sure...
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 41
Reputation: mrmike is an unknown quantity at this point 
Solved Threads: 0
mrmike mrmike is offline Offline
Light Poster

Re: Creating a program to run under various OS

 
0
  #4
Sep 15th, 2005
fails straight away with kernel32.dll error on windows 2000 - but not sure why as on certain win2000 machines it will work

it has to work on all versions of windows ideally
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 18
Reputation: sbedford is an unknown quantity at this point 
Solved Threads: 0
sbedford sbedford is offline Offline
Newbie Poster

Re: Creating a program to run under various OS

 
0
  #5
Sep 15th, 2005
are you using components from the windows kernel or registry? the kernel has been updated on more recent versions of win2k to support the same features as xp. Theres more information about kernel changes at msdn. Thats the only reason I can think of as to why you get kernel errors - unsupported commands in older versions of the Windows kernel
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 41
Reputation: mrmike is an unknown quantity at this point 
Solved Threads: 0
mrmike mrmike is offline Offline
Light Poster

Re: Creating a program to run under various OS

 
0
  #6
Sep 15th, 2005
thanks

i'll check it out - mainly using the registry to read values using TRegistry, and check fileversion numbers of particular files
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC