L
lmsx
Unregistered / Unconfirmed
GUEST, unregistred user!
我调用的函数:<br>BOOL GetNumberOfEventLogRecords(<br> HANDLE hEventLog, // handle to event log <br> PDWORD NumberOfRecords // buffer for number of records <br> <br>我的程序:<br>procedure TForm1.Button1Click(Sender: TObject);<br>var hEventlog:Thandle;<br> countdword;<br>begin<br> hEventlog:=openeventlog('kk','SYSTEM//CurrentControlSet//Services//EventLog//system//');<br> showmessage(inttostr(hEventlog));<br>if not GetNumberofEventLogRecords(hEventlog,count) then********<br> showmessage(inttostr(i));<br>end;<br>带*的那以行说<br>[Error] Unit1.pas(34): Types of actual and formal var parameters must be identical<br>程序该怎么写呢?