943,923 Members | Top Members by Rank

Ad:
Sep 7th, 2005
0

Creating a program to run under various OS

Expand Post »
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
Similar Threads
Reputation Points: 11
Solved Threads: 0
Light Poster
mrmike is offline Offline
41 posts
since May 2005
Sep 14th, 2005
0

Re: Creating a program to run under various OS

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sbedford is offline Offline
18 posts
since Jul 2005
Sep 15th, 2005
0

Re: Creating a program to run under various OS

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...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
neverwinter is offline Offline
6 posts
since Aug 2005
Sep 15th, 2005
0

Re: Creating a program to run under various OS

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
Reputation Points: 11
Solved Threads: 0
Light Poster
mrmike is offline Offline
41 posts
since May 2005
Sep 15th, 2005
0

Re: Creating a program to run under various OS

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sbedford is offline Offline
18 posts
since Jul 2005
Sep 15th, 2005
0

Re: Creating a program to run under various OS

thanks

i'll check it out - mainly using the registry to read values using TRegistry, and check fileversion numbers of particular files
Reputation Points: 11
Solved Threads: 0
Light Poster
mrmike is offline Offline
41 posts
since May 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: Getting a rollover menu in delphi
Next Thread in Pascal and Delphi Forum Timeline: Emulating a keyboard key press





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC