1. libui-euphoria release

Forked from Re: (rant) Three kinds of languages

petelomax said...
ghaberek said...

I also maintain the libui wrapper for Euphoria, if you're interesting in yet another UI library.

I managed to get that working on Phix, but all three demos crash, apparently somewhere deep inside uiMain(), as soon as I press escape. Any ideas?

Got any pre-built dlls for that, by any chance?

I made this just for you, Pete: 09-Dec-2016. Took me a minute to figure out how to get a build working with Visual Studio and CMake.

(Edit: added Linux builds to that list as well.)

You're a monster! (Just kidding.) You'd be surprised how many of those I've already tried.

I gave up on many of those almost immediately because:

A) I'm not interested in building another bespoke C++ wrapper for something, and/or
B) I couldn't even get the library to build or there were too many dependencies to work out, and/or
C) the library was so out of date I couldn't imagine anyone wanting to use it.

petelomax said...

UPDATE: I just tried a 64bit dll, and that does not crash, but changing gettingstarted.ex to:


on pressing escape, only 1 and 2 get shown, not 3 or 4 - is that as expected?

Not sure what's going here. Might be an issue internal to libui. I will investigate though.

FYI, I'm sort of in a holding pattern on libui-euphoria while the developers are figuring out how to implement uiTable, i.e. listviews.


new topic     » topic index » view message » categorize

2. Re: libui-euphoria release

Thanks, getting much the same as alpha3 - an int3 in KERNELBA, with this on the stack:

000DFCE8   6EBF154F  RETURN to libui32g.6EBF154F from libui32g.6EBFA6F0 
000DFCEC   6EC11DC4  ASCII "Z:\Documents\Projects\libui\windows\menu.cpp" 
000DFCF0   6EC12168  ASCII "296" 
000DFCF4   6EC12158  ASCII "runMenuEvent" 
000DFCFC   6EC12130  ASCII "unknown menu ID %hu in runMenuEvent()" 
000DFD00   000DFD18 
000DFD04   6EC03206  RETURN to libui32g.6EC03206 from libui32g.6EBF1530 
000DFD08   6EC11DC4  ASCII "Z:\Documents\Projects\libui\windows\menu.cpp" 
000DFD0C   6EC12168  ASCII "296" 
000DFD10   6EC12158  ASCII "runMenuEvent" 
000DFD14   6EC12130  ASCII "unknown menu ID %hu in runMenuEvent()" 

I found that last string at https://github.com/andlabs/libui/blob/master/windows/menu.cpp line 296

Any other clues? It may be one for https://github.com/andlabs/libui/issues -- done: https://github.com/andlabs/libui/issues/283


new topic     » goto parent     » topic index » view message » categorize

3. Re: libui-euphoria release

Apparently there is a fix for this, awaiting merge:



new topic     » goto parent     » topic index » view message » categorize


Quick Links

User menu

Not signed in.

Misc Menu