A
aliangzl
Unregistered / Unconfirmed
GUEST, unregistred user!
为什么我在DLL里写的:<br>unit Unit1;//DLL里的一个单元<br>interface<br>uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, winsock,<br> StdCtrls;<br> const<br> WM_SOCK = WM_USER + 1; //自定义windows消息<br> UDPPORT = 6767;<br> var s:TSocket;<br> addr: TSockAddr;<br> FSockAddrIn : TSockAddrIn;<br> var<br> TempWSAData: TWSAData;<br> //利用消息实时获知UDP消息<br> procedure ReadData(var Message: TMessage);message WM_SOCK;<br><br>implementation<br><br>略。。。<br>提示我不能识别“message ”这个关键字,请问为什么啊?该这么办?谢谢<br>