What should be used or how to change to compiler to recognise ASTAT ? I use ASTAT in my program.
Thank you
Printable View
What should be used or how to change to compiler to recognise ASTAT ? I use ASTAT in my program.
Thank you
I already included winsock btw.
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...
I wante to get adaptor, my compiler is borland, i just do
astat adapter and it says not define. what to include ?
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
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.Quote:
Originally Posted by googel
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
it is your compiler problem,Quote:
Originally Posted by googel
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