Thread: Love thy XP

  1. #1
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273

    Angry Love thy XP

    Hi,
    I've just my brand new PC (A Dell Dimension 4400 w/ P4 2Ghz ), which came with Windows XP. After dropping the weird "new" interface, I then decided to see if it would run some of my programs.
    Does anyone have any idea why they would work on Win9x but "failed to initialize properly (0xc0000005)" on XP?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

    Re: Love thy XP

    Originally posted by SMurf
    Hi,
    I've just my brand new PC (A Dell Dimension 4400 w/ P4 2Ghz ), which came with Windows XP. After dropping the weird "new" interface, I then decided to see if it would run some of my programs.
    Does anyone have any idea why they would work on Win9x but "failed to initialize properly (0xc0000005)" on XP?
    Without a code example....no.

    But remember that XP is built on the NT family and so lots of DOS based tricks that you got away with under 98 are a no-no for NT/2000/XP

  3. #3
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    "DOS based tricks"? These are Win32 programs I'm talking about. Not console apps, the real deal. And the fact is that no code in my program is apparently executed, it stops before that (hence "initialization")...

  4. #4
    Unregistered
    Guest
    The kernal in Windows 95 up to 98 are different than the NT/2k/XP kernals. A kernal is basically a *.dll that is used to run programs........and since they are different, and you based it on a 98 kernal, it won't work. If anyone has played StarCraft, and used StarDraft, they'll know what I'm talking about.

  5. #5
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Eh?
    I've tested this program on Windows 95, 98 and Me and it works fine. If it didn't work with the NT kernel I'd imagine no games and 80% of all other programs wouldn't work on 2K/XP either.

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Are you trying to do direct access to hardware?
    Does your prog run on nt w2k?
    Have you looked in the xp SDK?
    Is it just one prog or every prog you wrote that don't run in XP?

  7. #7
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    No
    Don't know
    The what?
    Hmm... it seems just this one (all of my others are DirectX apps). I use ADO and my own DLL in this app. The DLL is there, and it compiles fine, so I don't see the problem there. Also, XP comes with Data Access Components, so I don't think it's that.

  8. #8
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    There shouldnt be a problem when "going up" the range.......down....well yeah you could understand it cuz 98 doenst have all the API at its disposal......but this doesnt make sense......

    I doubt it could be a permission thing or a missing dll as both in cases you should be informed....

    Weird

  9. #9
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Without seeing the source it is really difficult to pin-point any problems. Try using XP's compatibility mode. Well I think XP has it, win2k has it and you can run programs in NT4,98,95 modes. I know you'd probably like to *fix* the code but that may be a place to start.

  10. #10
    [K]
    Guest

    my solution is...

    my solution for the XP problems is...
    DO NOT use xp!
    write anger letters to complain to microsoft. hell, let's all do that!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-07-2009, 11:31 AM
  2. Need help with program
    By HAssan in forum C Programming
    Replies: 8
    Last Post: 06-10-2007, 08:05 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. "if you love someone" :D
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-02-2003, 01:10 AM
  5. Windows XP regression over time
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 12-17-2002, 10:49 AM