Running an app that uses Windows SDK on XPE

R

RussR

I'm writing an app that uses a function from the Windows SDK. Specifically,
this function:
http://msdn.microsoft.com/library/en-us/iphlp/iphlp/icmpsendecho.asp?frame=true

The function allows you to essentially ping a computer through a func call
and see if you get a response.

The problem is that the function above is part of the Windows Platform SDK
or whatever and I am unsure of how to get such an app to run on XPE which
obviously has none of that SDK.

If there is a another function that is simpler that I could use to
essentially ping a computer, that would be good too as long as it is isn't a
system call from within the program such as using ping.exe.

Thanks,
RussR
 
G

Gordon Smith \(eMVP\)

RussR said:
I'm writing an app that uses a function from the Windows SDK.
Specifically, this function:
http://msdn.microsoft.com/library/en-us/iphlp/iphlp/icmpsendecho.asp?frame=true

The function allows you to essentially ping a computer through a func call
and see if you get a response.

The problem is that the function above is part of the Windows Platform SDK
or whatever and I am unsure of how to get such an app to run on XPE which
obviously has none of that SDK.

If there is a another function that is simpler that I could use to
essentially ping a computer, that would be good too as long as it is isn't
a system call from within the program such as using ping.exe.

Thanks,
RussR

That function requires Iphlpapi.dll which exists in the "Primitive:
Iphlpapi" component. Include it and resolve dependancies and you should be
fine.
 
R

RussR

Thanks for the info. On Windows XP Pro, I do not have this file at all.
How come it is on XPE?
 
R

RussR

Disregard my previous post stating that I do not have the Iphlpapi.dll in
my xp pro system. It resides in c:\windows\system32
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top