Re: Programming point of view..

From: Tom Porterfield (tpporter_at_mvps.org)
Date: 06/02/04


Date: Wed, 02 Jun 2004 07:40:14 -0400

MS wrote:

> Presently we are in the process of migrating from WindowNT4 SP6 to
>
> WindowsXP environment.
>
> The software we develop is more dependent on the WindowNT environment.
>
> For example we hardcoded as "C:\\WinNT\System32" in our code (for
>
> copying/using some system files) in NT environment. Suppose in case of
>
> migration to XP, we need to change it as "C:\\Windows\System32".
>
> Likewise, there may be many such changes, when we are to use XP
>
> environment. Can you please list me out such differences between them. I
>
> mean, can you send me the information on the basic but important such
>
> differences between the NT and XP environment.

It's almost impossible to predict what you might have done in your
program that is NT specific vs XP. For example, I would never have
guessed that you would have hardcoded the path to the winnt folder in
your application when the environment variables have always been there
to give you that information. Even in NT4 it is possible that the OS
could be installed to some folder other than C:\WINNT, and it is even
easier to have XP installed to some other folder than C:\WINDOWS.

So my best advice to you is to test thoroughly your application under XP
to insure that there isn't other code in there that is relying on things
that it shouldn't be relying on.

-- 
Tom Porterfield
MS-MVP MCE
http://support.telop.org
Please post all follow-ups to the newsgroup only.


Relevant Pages

  • Programming point of view..
    ... Presently we are in the process of migrating from WindowNT4 SP6 to ... WindowsXP environment. ... The software we develop is more dependent on the WindowNT environment. ...
    (microsoft.public.windowsxp.general)
  • Programming point of view..
    ... Presently we are in the process of migrating from WindowNT4 SP6 to ... WindowsXP environment. ... The software we develop is more dependent on the WindowNT environment. ...
    (microsoft.public.windowsxp.basics)
  • Re: Programming point of view..
    ... > WindowsXP environment. ... > The software we develop is more dependent on the WindowNT environment. ... could be installed to some folder other than C:\WINNT, ... that it shouldn't be relying on. ...
    (microsoft.public.windowsxp.general)
  • Re: porting 32-bit to 64-bit on Xeon
    ... IDE to build 64-bit applications while you maintain the same code base ... To set the 64-bit build environment variables, ... Build Environment Window", point to "Set Windows XP 64 Build ... change the folder to the \Microsoft Visual ...
    (microsoft.public.vc.mfc)
  • Re: Temp directory and directory of the .exe file.
    ... In any kind of shared environment, it means that every user gets to inherit the most ... Or exercise good judgment and put it in a protected folder? ... And it doesn't work if you put the executable in a shared network folder for everyone to ... or in a shared folder used by multiple VMs. ...
    (microsoft.public.vc.mfc)