... that does not help , the endif is needed , another error occurs if the line is commented, definitely something wrong Error E2187 c:\bcc582\include\prsht.h 1084: Unexpected end of file in conditional started on line 12 Note : if no resources are in the project, link is ok Question : has anyone tried ...