When I wingrep somefile.TPP, it doesn't not show up in the source code. From what little I know abt Pascal, I think the *.TPP file is generated during complie. Is that correct? If it's not being created, why??
Show us the code: it's difficult to debug otherwise, having to guess what you mean and what's in the source.
A
.TPP is (was) a Turbo Pascal protected-mode compiled unit, so it has no place in a "uses" clause. Very generaly speaking, a
uses clause should have just the names (without extension) of the "used" units, so copying something from a comment will not work in most cases.
For example, one may add a comment:
{ Uses:
- system.tpu
- crt.tpu
}
but copying that directly as:
"
uses system.tpu, crt.tpu; "
will not work; it should instead be:
"
uses system, crt; "
Besides that, if a source file says it uses "
SOMETHING.TPP" that's a rather clear indication that it's intended for Borland/Turbo Pascal and the code will probably need some tweaking to make it compile correctly (if at all) in Free Pascal.
HTH