ID_GPSSocket should be the ID of your winsock control ID, the one
you use in the m_sockctrl.Create(....) function, ID_GPSSocket is
the one I used in my project, you can use any symbol you like.
0 /* OnDataArrival */, is the index of event sink of winsock
control, when the control was made , the index value was decided,
the information stored in the relevant .tlb file.
Flowwing are all the event sink of winsock,you can see index of each
function:
HELLO Tiangz
THANK YOU FOR YOUR ANSWER, BUT I STILL HAVE LITTLE CONFUSED. I dont understand the Macro (CMainFrame, ID_GPSSocket, 0 /* OnDataArrival */,
OnSocketDataArrival,VTS_I4)
what does those Parameters mean, specially the second ID_GPSSocket, where does it from, and the third, why is it 0?
thanks thanks