Let's begin!
- Open the recipe project group called UsingFMXfromVCL.groupproj. The group contains two projects:
- A VCL application (vclmainproject.exe), which is your legacy application
- A DLL project (fmxproject.dll), which contains all the FireMonkey stuff
- To get an idea about projects, navigate to Project | Build all Projects, select the vclmainproject.exe file, and hit F9 to run it. The fmxproject.dll file has been compiled in the same folder of vclmainproject.exe. You should see the following form:
Figure 4.15: The VCL form that will use the DLL containing the FireMonkey code
- By clicking on the Call FireMonkey Form ...