Portability for Windows

This is a discussion on Portability for Windows within the C++ Programming forums, part of the General Programming Boards category; Hi everyone! I must use a specific thread function for my application. Unfortunatelly msn documentation says that this function does ...

  1. #1
    Disturbed Boy gustavosserra's Avatar
    Join Date
    Apr 2003
    Posts
    244

    Portability for Windows

    Hi everyone! I must use a specific thread function for my application. Unfortunatelly msn documentation says that this function does not work for windows9x. I cannot test it myself because I use XP.
    The msn says:
    Requirements
    Client: Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 3.5 and later.
    Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 3.5 and later.
    Header: Declared in Winbase.h; include Windows.h.
    Library: Use Kernel32.lib.


    My question is if I have any chance that the function GetThreadTimes will work on Windows9x.
    Thanks any help.
    Nothing more to tell about me...
    Happy day =)

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    Supposedly, that's an undocumented function available in kernel32.DLL in Win95 - but no 95 box to try it out.

    If you just want to know start and exit times, that should be easy enough to do by hand.

    Why you would even want to support 95 is another question

    gg

  3. #3
    Disturbed Boy gustavosserra's Avatar
    Join Date
    Apr 2003
    Posts
    244
    I was thinking and I will do by hand anyway, it is easier. I am developping an application to a militar headquarter, and they do not want to spent money on good machines (one that could support XP) or OS. =P

    Thank you!
    Last edited by gustavosserra; 05-01-2004 at 05:25 PM.
    Nothing more to tell about me...
    Happy day =)

  4. #4
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    Quote Originally Posted by gustavosserra
    I am developping an application to a militar headquarter, and they do not want to spent money on good machines (one that could support XP) or OS. =P
    God bless America!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. COM application portability
    By Opariti in forum Windows Programming
    Replies: 3
    Last Post: 11-21-2008, 01:17 PM
  2. portability
    By BarryII in forum C Programming
    Replies: 12
    Last Post: 10-02-2008, 09:48 AM
  3. Program Portability (code portability)
    By Perica in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2002, 10:03 AM
  4. what does portability mean?
    By elad in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 10-03-2002, 03:46 AM
  5. portability of a pause function
    By Eigenvalue in forum C Programming
    Replies: 2
    Last Post: 09-15-2002, 03:22 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21