Compiling and Testing a C++ Application with Thinfinity VirtualUI
In order to Integrate your C++ applications into Thinfinity VirtualUI in a very simple way, follow these steps:
1. Open the Application’s Project.
2. Add the path to the Thinfinity VirtualUI library in the ‘Include Directories’ field, which can be found in the main menu under Project – Properties – Configuration Properties – VC++ Directories).
You will find the Thinfinity VirtualUI files in the following source:
C:\Program Files\Thinfinity\VirtualUI\dev\c++
3. Add Thinfinity.VirtualUI.cpp to the Source Files.
4. Add Thinfinity.VirtualUI.h to the Header Files.
5. Include Thinfinity.VirtualUI.h in the application`s cpp:
#include “Thinfinity.VirtualUI.h”
6. Create a Thinfinity VirtualUI instance of the program and start it.
7. Compile the program and run it in debug mode.
8. You will see this message:
Also, observe on the Windows Tray Bar that the Thinfinity VirtualUI Development Server icon will appear.
IMPORTANT! You should have your Development License registered. If you don´t, here is a short tutorial about it: https://www.cybelesoft.com/blog/register-thinfinity-virtualui-v2-5-licenses/
9. If you press the ‘Start Web Browser’ button, a web browser will open pointing to the application. The application will also open in desktop mode.
Now, you have your program running in Development Mode on your Internet Browser. Let’s go to Production Mode!
1. If everything works on your development Mode on Thinfinity VirtualUI, just create your .exe program and save it in your Pc.
Now the application needs to be registered on Thinfinity VirtualUI Server. By doing this, the application will get published on the web server and will be available to be run from the web.
2. Open the Thinfinity VirtualUI Server Manager, available in the Start Menu.
3. Go to the ‘Applications’ tab.
4. Click on the ‘Add’ button.
5. Name the application and inform the application path and file name.
6. You can check the ‘Default Application’ option to bypass the Thinfinity VirtualUI landing page and go directly to the selected profile. You can access the rest of the profiles through their virtual path URLs.
7. Press ‘OK’ and ‘Apply’ on the Server Manager screen.
8. Now the application is ready to be reached on the Web.
Cheers!