I have a project in Borland Delphi 7. When I open the .DPR project file in RAD STUDIO XE5 it prompts an error "Framework not registered: VCL" and project not open.
I want to know what this error means. Although project is compiling and running in Borland Delphi 7.If you Google this error then there is not a single page for this error. Please help me. Thanks.
ERROR SCREENSHOT:
http://s9.postimg.org/9p6hyqodb/error.png
With the introduction of FireMonkey, a project needs to know whether it is using VCL or FMX as its underlying framework. When you upgrade your D7 project to XE5, the migration is not inserting that reference into the new DPROJ.
Unfortunately, upgrading older projects to newer IDEs has always been a flawed process full of pproblems. The best option is to simply do not do it. Create a new project from scratch and add your existing source files to it as needed.
Related
Does this feature exist in this IDE. WIKI says that i can
Embarcadero Delphi, previously Borland Delphi
Something like
edit and continue in visual studio 2015
But i cant find how to turn this on. If i make any changes in breakpoint stop IDE asks to rebuild project.
Also i checked a lot of SO answers and tried to find something on NET.
How can i enable this? I use XE5, but soon it will be 10, so if feature doesnt exists in my version of IDE, please say when it was added.
It is so annoying to rebuild project every time i change one line of code.
Delphi has nothing like Visual Studio's Edit and Continue feature.
I recently switched from Borland Delphi 7 to Embarcadero Delphi XE6 and I find it very difficult to install a library with components. I wish to install the Microsoft Speech Library.
I have searched on the web for tutorials and guides, but non of them have helped me.
Can someone please help me by giving a step by step tutorial. I asked two of my friends which also uses Delphi XE6 and they switched from Delphi 7 and Delph 2010. They also do not know how to do it.
I do not have Delphi XE6 anymore. I'm now using Delphi 10.1 Berlin Update 1, but I did struggle to import a Type Library in XE6 as it was a bit different to Delphi 7. Anyway I can't remember how I managed to do it in XE6, but I'm assuming it is the same in Berlin. So here:
Go to 'Component' in the main menu.
Choose 'Import Component'.
Choose 'Import a Type Library' and click on Next.
Choose the library you wish to install.
Choose a name for it and where/how you want to install it.
Just follow the rest of the steps. It will then compile and install it into your IDE.
Be aware that the type library importer in XE6 is broken. I've found at least one instance where the resultant unit has several interfaces with the parameter declared incorrectly as a const type instead of a var type. Delphi 2010 imports the same library correctly.
Installed a fresh Delphi xe2.
Open a new project (vcl forms application). opened the pallets and looked for TADOConnection, there is no such component.
Tired to repair the Delphi xe2 installation. no change.
Any way To resolve this?
Perhaps your Library Path is not set correctly? (Unless you're using Starter edition). Also perhaps you unchecked the dbGO/ADO checkbox during the installation?
I just bought and installed Delphi XE and was hoping to compile my old D7 project there.
However, I hava a source file that "uses QForms" and that generates a "file not found: qforms.dcu" and I can find no relevant reference to what to do about that file googling around...
Any idea how to solve it?
Rgds
PM
QForms is from CLX, the Qt based cross-platform library that was introduced with Delphi 6/Kylix. So far as I know, CLX is no longer shipped with Delphi.
You need to do one of the following:
Stick with Delphi 7.
Port the code to VCL. This will tie you to the Windows platform.
Get Delphi XE2 and use FireMonkey since clearly at some point in time this code was intended to be cross-platform.
I attempt to upgrade a project group containing 200 projects from Delphi XE to Delphi XE2. Some of the IDE design components aren't install on Delphi XE2 IDE yet.
I encounter error when open some projects in Delphi XE2 IDE:
"Error Reading Form: Class TSynEdit not found. Ignore the error and continue?
Note: Ignoring the error may cause components to be deleted or property values
to be lost".
This is due to TSynEdit component is not install in the Delphi XE2 IDE.
I am in the stage of upgrading to estimate how much works I need to do. As I didn't open the form containing missing component, these messages keep prompt out whenever I open the project. It is very irritating.
Prior to Delphi XE2's IDE, these messages prompt out only when I open the form in IDE. It doesn't happen when I open project file in IDE. However, in Delphi XE2, these messages prompt out when I open project file IDE.
As David suggested, now my comment as an answer.
XE2 internally opens all forms while upgrading the project. If you don't save the project it will be upgraded again the next time you open it.
So as you found by yourself: Save the project file, but don't save the forms as this would destroy the references to the non-existing components.