<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>whàt's wrong?</div>
<div> </div>
<div>my code started Excel and Word and i want these Apllication.Windows be arranged on Desktop:</div>
<div> </div>
<div>but this fails:</div>
<div> </div>
<div>TileWindows(0, MDITILE_HORIZONTAL,screen.WorkAreaRect,high(MyHandles),@<span style="font-family: Verdana; font-size: 12px; line-height: 19.2px;">MyHandles</span>);</div>
<div> </div>
<div>Message:</div>
<div>"unit1.pas(897,84) Error: Call by var for arg no. 5 has to match exactly: Got "Pointer" expected "LongWord"</div>
<div> </div>
<div><span style="font-family: Verdana; font-size: 12px; line-height: 19.2px;">MyHandles is a array of HWND.</span></div>
<div> </div>
<div><span style="font-family: Verdana; font-size: 12px; line-height: 19.2px;">How to pass this array to the function?</span></div>
<div> </div>
<div> </div></div></body></html>