-
July 21st, 2005, 06:28 AM
#1
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
-
July 21st, 2005, 06:30 AM
#2
Re: What hasn't been included ?
I already included winsock btw.
-
July 21st, 2005, 06:37 AM
#3
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...
-
July 21st, 2005, 06:40 AM
#4
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 ?
-
July 21st, 2005, 06:45 AM
#5
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
-
July 21st, 2005, 06:57 AM
#6
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.
-
July 21st, 2005, 07:02 AM
#7
Re: What hasn't been included ?
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
-
July 24th, 2005, 01:01 AM
#8
Re: What hasn't been included ?
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|