Data or to the TCP server receives the function first, and then the process of memory,
And how to understand the following code, I can't understand, what's the use of some parameters in the parentheses lib Alias represents what
Private Declare Sub CopyMemory _
Lib "KERNEL32" _
Alias "RtlMoveMemory" (hpvDest As Any, _
ByVal hpvSource As Long, _
ByVal cbCopy As Long)
CodePudding user response:
In front of the sea,Said is behind the KERNEL32. The function in the DLL RtlMoveMemory (formerly), but you can declare for different function name, in a program called CopyMemory (this is actually an alias),
As to the parameters, if there is a c + +, you can go to see the MSDN help, very detailed, no foundation, with the first copy the code, beginners don't need to care about,
Again: is there a ready-made MSComm (Microsoft Comm Control 6.0) no, have to use the API this rugged way
CodePudding user response:
B have various routines,