설명하기도 귀찮다. 문제는 다음과 같았다.
(http://www.osronline.com/showthread.cfm?link=180040 에서 가져옴.)
근데, 문제는 위에 써진대로 하는게 맞는거라는거다.
식빵! 결론적으로 말하자면, 아래처럼 해야된다.
왜 이 삽을 떴는지는 적혀 있으므로, 나는 노 코멘트... 그나저나 아이 식빵!
(http://www.osronline.com/showthread.cfm?link=180040 에서 가져옴.)
Now, there is a problem about how to use this function.
My codes:
#include Netioapi.h
....
ADDRESS_FAMILY Family;
PMIB_UNICASTIPADDRESS_TABLE Table = NULL;
NETIOAPI_API NetIoApi = STATUS_NOT_FOUND;
Family = AF_INET;
NetIoApi = GetUnicastIpAddressTable(Family, (PMIB_UNICASTIPADDRESS_TABLE
*)&(Table));...
But I get the LNK error 2019:unresolved external symbol
_GetUnicastIpAddressTable@8
How could this happen?
근데, 문제는 위에 써진대로 하는게 맞는거라는거다.
Requirements
Versions: Available in Windows Vista and later versions of the Windows operating systems.
IRQL: < DISPATCH_LEVEL
Headers: Declared in Netioapi.h. Include Netioapi.h.
식빵! 결론적으로 말하자면, 아래처럼 해야된다.
No. Include netio.lib.
TARGETLIBS=$(DDK_LIB_PATH)\netio.lib
( don't know why IT isn't mentioned in the current WDK documentation...)
Thomas F. Divine
왜 이 삽을 떴는지는 적혀 있으므로, 나는 노 코멘트... 그나저나 아이 식빵!
덧글