Windows Versions Of GetLong And GetShort

This is a discussion on Windows Versions Of GetLong And GetShort within the C++ Programming forums, part of the General Programming Boards category; Im seeking a windows function that does basically the same thing as getlong and getshort. unsigned int _getshort ( u_char ...

  1. #1
    That Creepy Network Guy DeepBlackMagic's Avatar
    Join Date
    Feb 2003
    Posts
    265

    Windows Versions Of GetLong And GetShort

    Im seeking a windows function that does basically the same thing as getlong and getshort.

    unsigned int _getshort ( u_char *message_ptr );

    unsigned int _getlong ( u_char *message_ptr );


    linux users can simply check the manpage for more information.
    windows users can click here:
    http://h30097.www3.hp.com/docs/base_...3/0028____.HTM

    Thanks for your time.

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Do you mean converting an ASCII digit such as '5' into its integer value, 5? Atoi() does that. That's all I could get from that manpage. It didn't tell me anything useful really.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544

  4. #4
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    So was I even close?
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed

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