[Pascal Fatal Error] DayTotalsDM.pas(6): F2051 Unit raClass was compiled with a different version of
[Pascal Fatal Error] DayTotalsDM.pas(6): F2051 Unit raClass was compiled
with a different version of ppComm.TppCommunicator
Delphi 2006 End
Report Builder 10.06
I had a similar problem while updating Delphi 7 and am now having the same
problem with D-2006.
After the update I am unable to re-compile my project. I get the error
above. We do not use or do we purchase RAP any longer. Isn't the ra stuff
RAP stuff?
I am able to create a little dumy report OK but when I try to compile a
report that was orgically compiled with RB 10.06 and D-7, I get the above.
The report is very simple but i have several and do not want to re write all
of them.
I have deleted all the DCU's in my project. I have done search's on teh
offending DCU's and insured that no stray DCU's are being accessed. It isi
quite easy to keep track since I have just moved teh development environment
to a new computer. I re-installed RB 10.06 ent and insured that all project
DCU's are gone. I checked he search path.
When this occurred in D-7, I copied the ra* files over from my old computer
that were there with RD 10.04. That worked, but I do not have that same
option now. I have never compiled this project under D-2006 on the old
computer.
Where do I go from here?
with a different version of ppComm.TppCommunicator
Delphi 2006 End
Report Builder 10.06
I had a similar problem while updating Delphi 7 and am now having the same
problem with D-2006.
After the update I am unable to re-compile my project. I get the error
above. We do not use or do we purchase RAP any longer. Isn't the ra stuff
RAP stuff?
I am able to create a little dumy report OK but when I try to compile a
report that was orgically compiled with RB 10.06 and D-7, I get the above.
The report is very simple but i have several and do not want to re write all
of them.
I have deleted all the DCU's in my project. I have done search's on teh
offending DCU's and insured that no stray DCU's are being accessed. It isi
quite easy to keep track since I have just moved teh development environment
to a new computer. I re-installed RB 10.06 ent and insured that all project
DCU's are gone. I checked he search path.
When this occurred in D-7, I copied the ra* files over from my old computer
that were there with RD 10.04. That worked, but I do not have that same
option now. I have never compiled this project under D-2006 on the old
computer.
Where do I go from here?
This discussion has been closed.
Comments
Try rebuilding (as compared to recompiling).
I have a similar problem, and that seems to work. Can't figure out how to
actually fix it though.
For some reason, one of your old files or templates is trying to reference
the RAP feature. Are you certain there are no RAP files on your machine
being referenced by your application? Also be sure you did not (at any
time) use RAP in any of your reports/templates. If so, even if the RAP code
is deleted, a code module will be referenced in your template file. You
might try viewing your template or form source and searching for any RAP
code module references.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I am quite sure that is what this problem is but can I fix it.
We used to use RAP but I pulled it since the reports were so simple. But I
assume their are still RAP footprints in the RTM's. I will look at them in
an editor and see if I can "clean it out" but I am on foriegn ground here.
Fortunately, I do save my RTM's as ASCII.
If you can walk me through what i am looking for, I would much appreciate
it. I don't want to have to rebuild these reports from the gound up.
Thanks,
Larry
Try opening your .rtm file(s) and do a search for raCodeModule. If you see
any blocks of code that show something like the snip below, remove it from
the template and save. Next, check for any other RAP references by
searching for ra* just to be sure.
object raCodeModule1: TraCodeModule
ProgramStream = {...}
end
To be sure no RAP references are still included, try placing a report on a
form and load the template into the report. When you try to compile the
app, no RAP files should be automatically added to the uses clause.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I got it cleaned out now. Had to go into the DFM's, also. But now it
is done, checked in and should not haunt me again.
Thanks,
Larry