Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IcmpSendEcho GPF on W7

Status
Not open for further replies.

oxidadus

Programmer
Aug 17, 2017
4
AR
Hi there,

Im having strange issues with ICMP Module linking, i declared types for icmp module and made it work fine in windows xp, but gives me a GPF on windows 7 and 10. Im developing in Clarion 9.1, can anyone help me with this? Im trying to use IcmpSendEcho to know if one pc is online on my LAN or not to transfer files.

My declaration

MODULE('icmp')
IcmpCreateFile(),UNSIGNED,PASCAL,RAW,NAME('IcmpCreateFile')
IcmpCloseHandle(UNSIGNED),UNSIGNED,PASCAL,RAW,NAME('IcmpCloseHandle')
IcmpSendEcho(LONG,LONG,STRING,LONG,LONG,*ICMP_ECHO_REPLY,LONG,LONG),LONG,PASCAL,RAW
END

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top