<div>Summary :</div>  <div>"MakeIntResource" was previously declared as function in win32 and wince,windows.pp files,also we had one declared in rtl\resh.inc as pchar and also there was some uses of it just as pchar in classes.</div>  <div>All these makes some problems in lazarus,as we cant have constants declared as arrays of makeintresource and things like this.</div>  <div>Obviously makeintresource is just a type definition,so instead of this function</div>  <div> </div>  <div>function MAKEINTRESOURCE(i : longint) : LPTSTR;<BR>    begin<BR>       MAKEINTRESOURCE:=LPTSTR(DWORD(WORD(i)));<BR>    end;</div>  <div> </div>  <div>it could be changed into pchar(LPSTR) or pwidechar(lpwcstr).</div>  <div>and making all other functions being declared as constants.</div>  <div> </div>  <div>I suggest the same changes also to win32.</div>  <div> </div>  <div>regards,</div> 
 <div>roozbeh</div>  <div> </div><p>

<hr size=1>Don't be flakey. <a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">Get Yahoo! Mail for Mobile</a> and <br><a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">always stay connected</a> to friends.