ผมรัน code ใน
Windows XP SP3 32 bit กับ Windows 7 32 Bit ก็ปกติดี
แต่พอรันใน
Windows 7 64 Bit ตรง "DhcpApiHostNameParams.nBytesData"
กลับ return "0" ตลอด
แล้วก็ไม่สามารถถึงข้อมูล
Hostname ใน DHCP option ได้ด้วย
มีวิธีแก้ไหมครับ
Supa Sethasiripong [MSFT]
MSDN Community Support |
Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.