CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2005
    Posts
    9

    Smile What hasn't been included ?

    What should be used or how to change to compiler to recognise ASTAT ? I use ASTAT in my program.
    Thank you

  2. #2
    Join Date
    Jul 2005
    Posts
    9

    Re: What hasn't been included ?

    I already included winsock btw.

  3. #3
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537

    Re: What hasn't been included ?

    What compiler are you using for the windows platform?
    What are you trying to do...show some code or give an idea...

    astat is not defined in the windows headers but people often use the name for adaptor status...

  4. #4
    Join Date
    Jul 2005
    Posts
    9

    Re: What hasn't been included ?

    I wante to get adaptor, my compiler is borland, i just do
    astat adapter and it says not define. what to include ?

  5. #5
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537

    Re: What hasn't been included ?

    meh..don't have the borland complier on this machine. Use the windows API's from teh platform SDK (msdn.microsoft.com) to make the calls.

    Ip helper API:

    http://msdn.microsoft.com/library/de..._ip_helper.asp

  6. #6
    Join Date
    Jul 2005
    Posts
    9

    Re: What hasn't been included ?

    thank too for help, problem I having isnot compiler specific !
    you dont have to speak rusian, i am sure i am not the one to understand it.

  7. #7
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537

    Re: What hasn't been included ?

    Quote Originally Posted by googel
    thank too for help, problem I having isnot compiler specific !
    you dont have to speak rusian, i am sure i am not the one to understand it.
    The platform SDK is support by all windows compliers in one version or another. If you want to get the adaptor status then use the IP helper API's as I linked to.

    You can also just do a search here on CG for adaptor or mac address. The question has been asked many times before [and should be in your FAQ section]

    /The extent of my russian: www.exile.ru

  8. #8
    Join Date
    May 2005
    Posts
    47

    Question Re: What hasn't been included ?

    Quote Originally Posted by googel
    I wante to get adaptor, my compiler is borland, i just do
    astat adapter and it says not define. what to include ?
    it is your compiler problem,
    ASTAT is not defined in compilers lower than 6.0. It is for use with version 6.0 only I mean it! You must directly access ADAPTER_STAT struture.

    -grabber
    Bye


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured