Nard Moseley (Digital Metaphors) hat uns dieses gebracht :
Hi Nard. Thanks for your answer. We are using RB 12.01 with the Patch for the Printing Bug with Windows 7. But with that we have the problem I have written in the Newsgroup on 2010-06-30 "Error after Patching RB12".
So I thing my problem will be solved with the next release when all DCU are compiled with the source of the patch.
Here is my post from 2010-06-30 again:
Hello.
I'm using RB 12.01 Build 197. This version has a known printing bug on Windows 7 PCs.
I have recieved an Patch from the support that fixes that.
So right.
After I have installed the patch I can't compile one Project. I get the Error (German):
ppPrnDev.Pas(33): F2051 Unit ppViewr wurde mit einer unterschiedlichen Version von ppGraphicsDevice.TppGraphicDevice compiliert.
The same in english should sound like:
ppPrnDev.Pas: F2051 Unit ppViewr was compiled with different versions of ppGraphicsDevice.TppGraphicDevice.
The only Idea I have where the recompile RB with the patched sources. But how can I do this ?
I have copied the patched Source in the Source-folder. Then I have opened the "Build.DPK" which is located in this folder. In the options I have set the Output-Path to the Lib-Folder.
If I compile the package, all DCU get made new, but the compilation of that Package abort in file ppChReg with an Error:
[DCC Fehler] ppChReg.pas(18): F1026 File not found: 'DesignIntf.dcu'
After that I can compile my Projekt without any errors.
But: Can I get any problems because of generating this DCU by this way ?
Does someone have an Idea how I can fix this "the right way" ?
2. Make sure you install RB 12.01 build 197. Check the Help | About of report designer. The patches will not work with a prior build.
3. Check your Delphi 2010 library patch. It should point to RBuilder\Lib
4. To apply the patch, unzip and copy to RBuilder\Lib and RBuilder\Source. Delete the corresponding .dcu files and then build your own Delphi project - this will generate a new .dcu files. Use Windows Explorer to browse to RBuilder\Lib and check the time stamp of the .dcu files.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
For the project that will not compile, check the source directories for the existence of an RB source code unit (.pas or .dcu). Make sure you have not modified any RB source code.
Somewhere on your machine you have one or more old RB units (.pas or .dcu).
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
I don't understand the question. Is there something specific you are looking
for?
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Hi Nard.
Thanks for your answer.
We are using RB 12.01 with the Patch for the Printing Bug with Windows
7.
But with that we have the problem I have written in the Newsgroup on
2010-06-30 "Error after Patching RB12".
So I thing my problem will be solved with the next release when all DCU
are compiled with the source of the patch.
Here is my post from 2010-06-30 again:
Hello.
I'm using RB 12.01 Build 197.
This version has a known printing bug on Windows 7 PCs.
I have recieved an Patch from the support that fixes that.
So right.
After I have installed the patch I can't compile one Project.
I get the Error (German):
ppPrnDev.Pas(33): F2051 Unit ppViewr wurde mit einer unterschiedlichen
Version von ppGraphicsDevice.TppGraphicDevice compiliert.
The same in english should sound like:
ppPrnDev.Pas: F2051 Unit ppViewr was compiled with different versions
of ppGraphicsDevice.TppGraphicDevice.
The only Idea I have where the recompile RB with the patched sources.
But how can I do this ?
I have copied the patched Source in the Source-folder.
Then I have opened the "Build.DPK" which is located in this folder.
In the options I have set the Output-Path to the Lib-Folder.
If I compile the package, all DCU get made new, but the compilation of
that Package abort in file ppChReg with an Error:
[DCC Fehler] ppChReg.pas(18): F1026 File not found: 'DesignIntf.dcu'
After that I can compile my Projekt without any errors.
But: Can I get any problems because of generating this DCU by this way
?
Does someone have an Idea how I can fix this "the right way" ?
I am able to apply the patches to my RB 12.01 installation here with no
issues.
1. Try following these instructions to clean up your existing installation.
http://www.digital-metaphors.com:8080/General/Installation/Cleaning_Up_a_Corrupt_Install
2. Make sure you install RB 12.01 build 197. Check the Help | About of
report designer. The patches will not work with a prior build.
3. Check your Delphi 2010 library patch. It should point to RBuilder\Lib
4. To apply the patch, unzip and copy to RBuilder\Lib and RBuilder\Source.
Delete the corresponding .dcu files and then build your own Delphi project -
this will generate a new .dcu files. Use Windows Explorer to browse to
RBuilder\Lib and check the time stamp of the .dcu files.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Hi Nard.
Thanks for the answer.
I have uninstalled RB and after that I have installed it again.
After that, I have "installed" the patch.
The problem is the same.
I have the problem only with one project (ca. 1.000.000 line of
sourcecode). My other project works fine.
I think there is one wrong uses in one of my hunderts of files :-( .
But I don't find it.
Is it possible that you build the hole code (incl. Printing patch) and
send me your dcu ?
Best regards
Michael Meyer
For the project that will not compile, check the source directories for the
existence of an RB source code unit (.pas or .dcu). Make sure you have not
modified any RB source code.
Somewhere on your machine you have one or more old RB units (.pas or .dcu).
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Hello Nard.
The only RB Files in my source dirs I found were:
RBTableGrid.dcu
and, because were are using an Subdir in our project were the DCUs will
get generated, the
ppprndev.dcu
and
ppGraphicsDevice.dcu
in this Subfolder in our Source-dir.
The RBFiles I found in my Delphi2007 programfolder are:
ppchrt*.dcu with date 2010-07-13
and the other pp*.dcu-files have the date 2010-06-17.
The pp*.pas-files have different dates older than 2010-06-17.
The oldest file is "ppRelatv.pas" from 2002-03-19.