Version 17.6 and Addict 4
Version 17.6 and Addict 4
I have installed Addict 4 and then TRichEdit 17.6 using TRichViewSetup-Pre18.exe but the installed just skips the Addict 4 parser.
How can I install the required parser?
I've tried reinstalling both Addict and then TRichEdit after completely uninstalling both but still no success?
Any suggestions on what to try next?
How can I install the required parser?
I've tried reinstalling both Addict and then TRichEdit after completely uninstalling both but still no success?
Any suggestions on what to try next?
-
- Posts: 9
- Joined: Thu Dec 27, 2018 1:48 am
Re: Version 17.6 and Addict 4
Maybe that might help.
Sergey Tkachenko wrote: ↑Tue Jul 24, 2018 2:33 pm TRVAddictSpell31 and TRVAAddictSpellInterface components are registered by TRichView installer if it can find (and if it can use) Addict4.
But unfortunately, there is a problem:
- all our packages are "never-build" packages;
- the Addict packages are "always-build" packages
"Never-build" packages cannot use "always-build" packages.
To use Addict with TRichView, you have to make Addict packages "never-build" and recompile them.
To do it, open the Addict package (for example, for Delphi 10 Berlin, the package is <Addict Dir>\Source\d24\addict4_d24.dpk). Right click the package name in the Project Manager (usually located at the right side of the screen), choose "Options..." in the menu. Go to the page "Description". Change "Build control" = "Explicit rebuild". "OK". Re-install the package (right click the package name, "Install").
Make sure that you do not have old version of the package compilation results (<package name>.bpl and <package name>.dcp) files. If you have several copies BPL and DCP files of Addict packages, delete the old versions.
Then re-install TRichView in Delphi. To do it, you can use "Install TRichView in Delphi IDE" shortcut in the Windows Start Menu. If everything is correct, the installer will write "Installed" instead of "Skipped" next to "Addict 4 parser" item, and you will be able to use TRVAddictSpell31 and TRVAAddictSpellInterface components.
Re: Version 17.6 and Addict 4
Following those instructions helped and let me install the Addict 4 parser.
However it is only 32 bit and the program I'm developing is 64 bit.
Is there some other step I need to follow to include a 64 bit parser?
Thank you.
However it is only 32 bit and the program I'm developing is 64 bit.
Is there some other step I need to follow to include a 64 bit parser?
Thank you.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Version 17.6 and Addict 4
Try modifying TRichViewFullDelphi.iide (it must be in Setup folder of TRichView installation)
In this file, find declarations related to Addict parser:
Delete the line 32bit10=1
Then reinstall TRichView (using "Install TRichView in IDE" shortcut of Windows Start menu).
Very probably, it may fail because of the same reason as 32-bit compilation.
In this case, you need to recompile the Addict package in 64-bit mode and try again.
--
I do not remember why the setup installs the Addict wrapper only in 32-bit, I'll recheck it after I finish the current work.
In this file, find declarations related to Addict parser:
Code: Select all
Package10=Addict3_RichView_
Trial10=0
Path10=ThirdParty\Addict\Source
Descr10=TRichView parser for Addict 4 for %s
Title10=Addict 4 parser
CheckUnit10=ad3RichView
Optional10=1
32bit10=1
Then reinstall TRichView (using "Install TRichView in IDE" shortcut of Windows Start menu).
Very probably, it may fail because of the same reason as 32-bit compilation.
In this case, you need to recompile the Addict package in 64-bit mode and try again.
--
I do not remember why the setup installs the Addict wrapper only in 32-bit, I'll recheck it after I finish the current work.
Re: Version 17.6 and Addict 4
I made that change in the TRichViewFullDelphi.iide file, reinstalled Addict and confirmed that the 64 bit version was present, then reinstalled TRichView using the "Install TRichView in IDE" shortcut.
The parser installed but still only as 32 bit.
Before reinstalling Addict I also cleaned out any Addict files that might have been in old directories.
I'll await your checking of the wrapper for 32 bit installation only.
Thank you
The parser installed but still only as 32 bit.
Before reinstalling Addict I also cleaned out any Addict files that might have been in old directories.
I'll await your checking of the wrapper for 32 bit installation only.
Thank you
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Version 17.6 and Addict 4
You can open the Addict parser package (for example, if you use Delphi XE8, <TRichView Dir>\ThirdParty\Addict\Source\Addict3_RichView_DXE8.dproj, and try to compile it in 64 Windows platform.
Error messages may help to find the problem.
Error messages may help to find the problem.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Version 17.6 and Addict 4
If, after removing the line
the setup installs everything without warnings, this means that the parser is actually installed in 64-bit.
But the components were not marked as 64-bit compatible (it require source code modification)
But it still possible to use them in 64-bit projects.
You can switch your project to 32-bit platform, place the components on the form, then switch back to 64 bit.
Code: Select all
32bit10=1
But the components were not marked as 64-bit compatible (it require source code modification)
But it still possible to use them in 64-bit projects.
You can switch your project to 32-bit platform, place the components on the form, then switch back to 64 bit.
Re: Version 17.6 and Addict 4
That solved the problem. In 32 bit the component could eb added and once I switched back to 64 bit the program compiled and the spellchecking is working.
Thank you for your help.
Thank you for your help.
Re: Version 17.6 and Addict 4
So it's safe to be switching between 32-bit and 64-bit in the middle of a project like that, Sergey?NGP wrote: ↑Mon Feb 04, 2019 11:51 pm That fantastic teeth whitening kits use case solved the problem. In 32 bit the component could eb added and once I switched back to 64 bit the program compiled and the spellchecking is working.
Thank you for your help.
Last edited by MiltonG on Wed Nov 01, 2023 6:02 pm, edited 3 times in total.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Version 17.6 and Addict 4
This is a normal way of switching between 64 and 32-bit platforms for a project.
It's usually safe, but as you can see, it's very simple to get round the "not compatible with 64-bit" mark of components. So you must be sure that the components in the project are 64-bit compatible.
It's usually safe, but as you can see, it's very simple to get round the "not compatible with 64-bit" mark of components. So you must be sure that the components in the project are 64-bit compatible.