Como Ativar Delphi Xe2
I'm trying to install the jvcl from source, but I'm getting an error in line #1267 of unit JvInterpreter;
Embarcadero ex2 update 4 crack - devxstudivorg. Rad Studio Xe2 Update 4 Crack. GET Embarcadero RAD Studio XE2 Delphi CBuilder CRACK by ONiX Sept. Como instalar e ativar o Rad Studio XE4 update. Delphi ex2 update 4 cracked.
So I removed ComObj
from the uses and waited for the error further down the line:
There's an error concerning EOLEError
, which is part of OleAuto I added that and hoped for the best, but....
I get an error on this line #1799:
So the question is: what happened to ComObj
and what unit do I need for DispatchInvoke
in XE2?
2 Answers
The solution is to change the uses
to use a fully qualified name:
Now it compiles without error.
See: What is the compiler version for Delphi 2010?
For a list of compiler defines.
Simply add system.win i.e. instead of comobj use system.win.comobj
Not the answer you're looking for? Browse other questions tagged delphicomdelphi-xe2 or ask your own question.
Prior to Delphi XE2, we have VCL only to create GUI apps. Delphi XE2 states that:
Caution: FireMonkey (FMX) and the Visual Component Library (VCL) are not compatible and cannot be used in the same project or application. That is, an application must be exclusively one or the other, either FireMonkey or VCL. The incompatibility is caused by framework differences between FireMonkey (FMX) and VCL.
My application is a pure VCL application that is built with runtime packages. All VCL forms are stored in a runtime package. If I am going to create a FireMonkey form and store in a package, do I have any chance to instantiate this FireMonkey form in my VCL application at runtime? So I may enjoy the 3D or HD effects of FireMonkey.
6 Answers
This is perfectly possible, since the FMX form can be assigned to a panel.
See this blog article for details:
Just create a new FireMonkey form (2D or 3D, doesn't matter) save it and then add it to your VCL application (just accept the warning). You can create your FMX form instance somewhere and just show it - no problem. But what if you want to create some nice control with animations or something and embed it into your existing VCL form? Well, put a TPanel on your VCL form and include the brandnew unit DSharp.Windows.FMXAdapter.pas after the Vcl.ExtCtrls. Then just create your FMX form somewhere and assign it to the new Form property of your Panel - and boom, there you go.
In fact, the FMXAdapter.pas code is very short:
For a more modern approach try TFireMonkeyContainer
. It's an open-source VCL component you can place on a VCL form, and it can host / embed a FireMonkey form inside it.
A FMX form embedded in a VCL form using TFireMonkeyContainer
Details here: introduction article, and followup with some bugfixes and more features. Find a link to the Google Code page and source here.
Como Ativar O Delphi Xe2
It works with XE2 and above, including XE4+ (where FMX had some large changes.)
Disclaimer: this is my component. (I created it to solve this very problem.) It's MPL-licensed so can be freely used even in commercial apps. Hope it helps you and makes your life easier!
I haven't tried myself but I know of one confirmed way to mix VCL and FireMonkey in the same application using RemObjects Hydra and one unconfirmed report that you can have FireMonkey forms in a VCL application at Delphi Sorcery.
It is no big deal actually, to use both kinds of forms. But be sure that you instantiate them without any owner, as the owner types are not compatible.
I just created two simple test projects, Project46 and Project47. Project46 contained Unit25 with a VCL Form. Project 47 contained Unit26 with an FMX form. On Form25, I added a button, with the OnClick handler:
This worked as expected. But the forms should otherwise be strictly indepedent of each other. Only types they have in common can be exchanged.
Download and install MonkeyMixer. Load up your VCL project (or create a new one), right-click on it in the Project Explorer, then you'll see either 'Switch to FireMonkey'. Click that and you'll be able to add FireMonkey forms seamlessly to your VCL project. You can then switch back to VCL mode (if you want to add VCL Forms/Frames) the same way, except the menu entry will say 'Switch to VCL'.
Como Ativar Delphi Xe2
Enjoy!
All problems of the FMX+VCL mix can be resolved on the WinAPI level. But personally I don't recommend you to use such mix in the real world application.