ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I am just wondering if it is possible...
This is what i mean: let's say that I have a piece of C/C++ software doing some beautiful (intensive) computations :-) and I want to build a GUI for it. Flash could be cool due to large availability of special effects around on the WEB.
I would need a data exchanging mechanism between the C++ routine and the GUI (in both directions) and some kind of notification messages.
Maybe I can host the flash player plugin into a wxHTML or similar window?
It all depends on the flash, is it capable of calling other programs?, does it even has a basic stdin stdout capabilities, etc..?
When I was building GUI interfaces for the web what I tended to do was write a CGI C/C++ program that apache would call, and it would write HTML/Javascript backout to the user. It was a simple interface program, and would then itself call other C/C++ programs, with the options the users had select to do any real work.
I suppose you could do the same with flash if it is capable of calling other programs.
Hi leonscape,
some flash expert is definitively needed ;-)
I should add to my wish list what I prefere not to have other programs running to make the comunication possible, for example: flash --> server with php --> C++ would *not* be nice for me.
You _can_ interface Flash with Visual C++ using the fscommand (via a VB Event) but given that this is a linux programming forum I doubt that's an option for you.
Using sockets with C++ and Flash may be impossible, yes. However, (and I've never used XML sockets with Flash) you can do it with Java as seen on this site...
Hi pperon,
it seems to me a good starting point! I believe that every socket operation that can be performed in Java has a counterpart in C, so maybe I can try....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.