Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » HelloWorld makefile
Re: HelloWorld makefile [message #41320 is a reply to message #41318] Sat, 30 November 2013 13:44 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
forlano wrote on Sat, 30 November 2013 05:57



From other side I have not understood if the Mirek's words mean that the issue prevent U++ to work via emscripten or it is only a potential problem.

Luigi


You can think about C++ running in emscripten as C++ running on some alien OS. U++ at this moment does not support that OS (just like it does not support e.g. iOS).

Now, it would probably be possible to add support for 'emscripten OS (eOS)' (and I would like to do that), but then there is one particular problem: there is no way how to implement explicit message loop in eOS. This in practice means that Ctrl::Run is impossible.

In the end, we could still have U++/eOS, but as Ctrl::Run is not possible, U++ applications for eOS would have to be specifically altered (quite heavily) to conform with this. E.g. this would not be possible anymore:

if(PromptYesNo("Do you want to perform this operation?")) {
    // perform the operation
}


instead, you would need to write

void MyApp::PerformOperation() {
    // perform the operation
}

PromptYesNo("Do you want to perform this operation?", THISBACK(PerformOperation))


Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in msc 7.1 ?
Next Topic: Painter replacement
Goto Forum:
  


Current Time: Fri Nov 01 01:09:31 CET 2024

Total time taken to generate the page: 0.02334 seconds