消息的困惑?WM_USER
interface
uses
...
//自定义消息
const WM_PressOK = WM_USER+100;
type
TMainForm = class(TForm)
...
public
procedure PressOK(var Msg: TMessage); message WM_PressOK;
//这里出错,出错信息如下:
//Unsatisfied forward or external declaration:'TMainForm.PressOK'
end;
//如果注释下面的这条type语句就可以通过
type
MyCall = function():integer;stdcall;
end;
var
MainForm: TMainForm;
implementation
...
------------------------------------------------------------
请问如何解决这个问题。