In Delphi 7 I have in the 'Tools/Environment options/Library' under my 'Libray path' the following directory :
C:\ggProgramFiles\QR-synopse-pdf-files
In there I have some Pas files and their Dcu files. One of the files here is QRPDFSynFilt.pas and QRPDFSynFilt.dcu
Now my problem is that since the pas files are available there I always step into them while debugging and I find that annoying.
So I made a new directory :
C:\ggProgramFiles\QR-synopse-pdf-files\dcu
and copied only the dcu files there.
Then I altered the path in 'Tools/Environment options/Library' to point to this new directory.
But now Delphi 7 tells me he cant find
C:\ggProgramFiles\QR-synopse-pdf-files\dcu\QRPDFSynFilt.pas
and that is correct only the dcu is there.
But I always believed that when Delphi finds the DCU file that would be enough, the PAS file would not be needed if the DCU is found.
So my question is does Delphi needs the PAS file to compile or is the DCU enough and if the latter is true what could cause Delphi to give me this error ?
EDIT on Deltics answer
I could use the compiler directive {$debuginfo OFF} but since these units are 3th party I did not wanted to edit them. If nothing else works I will still do that.
EDIT on Davids comment : the compiler error is
[Fatal Error] File not found 'C:\ggProgramFiles\QR-synopse-pdf-files\dcu\QRPDFSynFilt.pas'