how to use this function ?<br>type <br> aa=class(tobject)<br>public<br> function callbackme(h : Thandle; resType : pchar; resName : pchar; lParam : cardinal):boolean;stdcall;<br>end;<br>constructor aa.create;<br>begin<br>EnumResourceNames(hinstance,RT_ICON,@callbackme,1);<-----compile error:[Error] Unit1.pas(29): Variable required<br>end;<br>function callbackme(h : Thandle; resType : pchar; resName : pchar; lParam : cardinal):boolean;<br>begin<br> result:=TRUE;<br>end;<br>