취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

GetIfEntry from Windows DLL

I want to Labview from a DLL file and a file Heard generate vi.
I need the function GetIfEntry from iphlpapi.dll to get from Windows the network status. Will create when the VI a message with the first times I can anfanagen nothing.
Can someone help me?
Appendix: Error message header file

모두 다운로드
0 포인트
1/5 메시지
3,349 조회수

You would need to create a cluster that corresponds to the MIB_IFROW structure, and pass it in as a pointer. Do you know how to do this? Do you know how to call DLLs in LabVIEW? If not, you should read over the LabVIEW Help that covers how to call code written in text-based languages. You can also search the NI Knowledgebase for more information, such as this simple example: http://decibel.ni.com/content/docs/DOC-9069. You can also look at the "Call DLL" example that ships with LabVIEW (Help -> Find Examples).

0 포인트
2/5 메시지
3,341 조회수

you might also look for my library iptools.llb. It should be a good starting point if not already the solution.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 포인트
3/5 메시지
3,333 조회수

Thank you for your tool. This is super. I need the Iphlpapi.dll also the IP address of each adapter. Do I get out of the function GetAdaptersInfo?

0 포인트
4/5 메시지
3,298 조회수

No, and GetIfEntry() won't give you that either. Basically GetIfEntry returns mostly the same information for a single interface than the function GetIfTable() I used, only the function I used returns all interfaces in one go. The function returns the physical (MAC) address but to get the logical network address you would need to use a different function.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 포인트
5/5 메시지
3,285 조회수