1 year ago

#382711

test-img

Nano

Is it possible to integrate an C++ UI inside a Website?

I need your help on something.

I got an C++ application divided in two sub programs working together.
The first program gets data from a device and fill, through a buffer, a second program that displays the data on a graphical window (an UI).

I need to integrate this UI on a website that can run locally on the same computer executing the C++ application.

Right now, I am launching my C++ application thanks to a protocole handler.
In my website, I am calling this protocol with <a href="app:myparams" />.
It launchs my application and I got the UI opening but it needs to be embed/inside the same website launching it.

What I tried:

  • Recompile the application in WebAssembly and execute it inside a website.
    Problem: Creating shared memory and fork (for my buffer) are currently not supported in WebAssembly.
  • Create a virtual machine with my application running inside. Then access it through a web interface manager for virtual machine (like vmware Horizon https://move.odu.edu/) by embedding it inside my website.
    Problem: Bold solution (I know), refused by my superior.
  • Use an iframe for the UI.
    Problem: There is no url I can provide for it.

NB: I didn't developped this application and can't really redevelop it. The application is supposed to stay as it is.

I know that browsers are restricting that kind of things due to security issues. But I wanted to know if there are some solutions even temporary to make it work.

I hope I was clear enough. Thank for your time and your help.

c++

user-interface

web

embed

desktop

0 Answers

Your Answer

Accepted video resources