1. wxEuphoria vs Win32EuLib ?
- Posted by vmars Jun 11, 2009
- 987 views
I am wondering why someone would use Win32EuLib (other than its IDE)rather than crossPlatform with wxEuphoria.
Does one have more capabilities than the other?
Thanks ...Vern
2. Re: wxEuphoria vs Win32EuLib ?
- Posted by mattlewis (admin) Jun 11, 2009
- 995 views
I am wondering why someone would use Win32EuLib (other than its IDE)rather than crossPlatform with wxEuphoria.
Does one have more capabilities than the other?
There are some things that win32lib does that wxEuphoria does not, and vice versa. One advantage of using win32lib is that you do not have an additional dll/so that must be installed by end users.
Matt
3. Re: wxEuphoria vs Win32EuLib ?
- Posted by vmars Jun 11, 2009
- 1061 views
I read this: http://euwiki.ayo.biz/Wrapping
How will pgmr know if a '.dll/.so' is needed? If feature is not available in wx, then it needs a '.dll/.so' for each feature missing ?
Would it also need a '.dll/.so' (per feature) for each target operating system?
And what would the file extension be for a '.dll/.so' ?
Thanks ...Vern
4. Re: wxEuphoria vs Win32EuLib ?
- Posted by mattlewis (admin) Jun 11, 2009
- 1050 views
I read this: http://euwiki.ayo.biz/Wrapping
How will pgmr know if a '.dll/.so' is needed?
A dll/so (dynamically loaded library / shared object) is just some code that someone has written and compiled into a form that can be used by other programs. So it's really a matter of wanting to use something that exists in a dll.
For example, in order to access the Win32 API, in order to create windows, etc, Windows provides many different dlls that do different things. The most common are kernel32.dll and user32.dll. There are many others.
If feature is not available in wx, then it needs a '.dll/.so' for each feature missing ?
Would it also need a '.dll/.so' (per feature) for each target operating system?
I'm not sure exactly what you mean here. Are you talking about a feature of wxWidgets that wxEuphoria does not yet provide?
Different features could be built into a single dll, just like you can put more than one euphoria source code file into a program. Each operating system will need a different dll, as they all have slightly different file formats, as well as underlying libraries that the dll will need to use.
And what would the file extension be for a '.dll/.so' ?
"dll" and "so", respectively. Well, Ok, sometimes on windows, you'll get .ocx files, which are ActiveX components, and are really dlls, though they also have to follow some additional conventions.
Actually, sometimes, on unix-like systems, you'll get extra version information appended after the .so. wxEuphoria does this to make it easier to figure out which version of the library you're using:
libwxeu.so.13 libwxeu.so.14 ...etcThere's often also a symbolic link without the version information that points to (usually the latest, or current stable) the so. This allows users to not have to worry about the version number (assuming that different versions are compatible, of course).
Matt
5. Re: wxEuphoria vs Win32EuLib ?
- Posted by euphoric (admin) Jun 11, 2009
- 1010 views
I am wondering why someone would use Win32EuLib (other than its IDE) rather than cross Platform with wxEuphoria.
Does one have more capabilities than the other?
Win32Lib makes Windows programming very easy, which is enhanced by the IDE. There are a few reasons why I'd use it instead of wxEuphoria:
- The IDE makes it simple. Make the controls, attach the code... BAM!
- wxEuphoria is in a state of flux right now. I think. Right? Well, it's not working for me, so that means it's in a state of flux.
Why I want to use wxEuphoria:
- Auto-sizing and other special windowing features.
- Special controls available, like wxHTML, etc.
- Cross-platform. I have clients who aren't on Windows, so this makes it real nice.
What it will take for me to abandon Win32Lib for good:
- Stable release of wxEuphoria.
- Matt's promise to never abandon it.
Of course, there's EuGTK, which is also a very attractive cross-platform interface now that Irv seems to have taken control of it again. 'cept I can't get that to work for me either. grrRRrRr!
6. Re: wxEuphoria vs Win32EuLib ?
- Posted by jeremy (admin) Jun 11, 2009
- 1026 views
And what would the file extension be for a '.dll/.so' ?
"dll" and "so", respectively. Well, Ok, sometimes on windows, you'll get .ocx files, which are ActiveX components, and are really dlls, though they also have to follow some additional conventions.
[/quote]
You need to add in there dylib. For instance, wxEuphoria *should* run on OS X also, no? I can take an unaltered C wxWidgets app and compile/run on Windows, Linux and OS X.
In the past, open_dll would take a lib file to load and would return -1 if it couldn't be loaded. You would then try the next, and next, and next and finally err. However, the new open_dll in 4.0 saves you a lot of work, simply do:
constant hDll = open_dll({ "myfile.dll", "myfile.ocx", "myfile.so", "myfile.so.1", "myfile.so.1.0", "myfile.so.1.0.0", "myfile.dylib" }) if hDll = -1 then crash("Could not open myfile shared library.") end if
It will cycle through the list and return the handle to the first one that loads successfully.
Jeremy
7. Re: wxEuphoria vs Win32EuLib ?
- Posted by mattlewis (admin) Jun 11, 2009
- 1035 views
- Last edited Jun 12, 2009
And what would the file extension be for a '.dll/.so' ?
"dll" and "so", respectively. Well, Ok, sometimes on windows, you'll get .ocx files, which are ActiveX components, and are really dlls, though they also have to follow some additional conventions.
You need to add in there dylib. For instance, wxEuphoria *should* run on OS X also, no? I can take an unaltered C wxWidgets app and compile/run on Windows, Linux and OS X.
Ah, right. I've never really worked with OSX, but wxWidgets does have a port, so there's no reason why it shouldn't work there. I've only ever built wxEuphoria for Windows, Linux and FreeBSD. I think the makefile may be wxGTK specific, though, so it might take some work.
It would probably work with the other *nixes where wxWidgets works, which should be just about any x86 that has an X server. Again, it might take some work to get wxEuphoria to build. I've been thinking that I need to move to a bakefile for wxEuphoria. That's what wxWidgets uses to automatically generate makefiles for multiple compilers and operating systems.
Matt
8. Re: wxEuphoria vs Win32EuLib ?
- Posted by mattlewis (admin) Jun 11, 2009
- 1049 views
- Last edited Jun 12, 2009
- wxEuphoria is in a state of flux right now. I think. Right? Well, it's not working for me, so that means it's in a state of flux.
Well, there's been no release so far that will work with eu 4.0, which has itself been in a state of flux. So since you're using eu 4.0, I suppose you're right. The next release will work with both 3.1 and 4.0.
wxEuphoria v0.12.2 should be stable for use with eu 3.1.
Why I want to use wxEuphoria:
- Auto-sizing and other special windowing features.
- Special controls available, like wxHTML, etc.
- Cross-platform. I have clients who aren't on Windows, so this makes it real nice.
Yes, auto-sizing is a wonderful thing. Once I got used to it, I found it a lot easier than even using an IDE. No more dragging controls around. It all just works.
I think my favorite custom control is the wxGrid. It does some nice things, many of which, admittedly, Phil Russell's win32lib add-on EuGrid does, too.
What it will take for me to abandon Win32Lib for good:
- Stable release of wxEuphoria.
- Matt's promise to never abandon it.
Hey, Greg's been doing more with wxEuphoria lately than I have. I'm actually looking forward to getting eu 4.0 out the door so I can have more time to focus on my other stuff like wxEuphoria.
Matt
9. Re: wxEuphoria vs Win32EuLib ?
- Posted by jeremy (admin) Jun 11, 2009
- 1018 views
- Last edited Jun 12, 2009
Hey, Greg's been doing more with wxEuphoria lately than I have. I'm actually looking forward to getting eu 4.0 out the door so I can have more time to focus on my other stuff like wxEuphoria.
Yeah, me too I have several projects that have been on hold now for a while
Jeremy
10. Re: wxEuphoria vs Win32EuLib ?
- Posted by euphoric (admin) Jun 11, 2009
- 1008 views
- Last edited Jun 12, 2009
- Matt's promise to never abandon it.
Hey, Greg's been doing more with wxEuphoria lately than I have.
That's true! How could I forget?!? Sorry Greg!
So, I'll hire ninjas to kidnap you guys and bring you to the dungeon, where you'll toil away forever on wxEuphoria. Okay, at least until v1.0.
11. Re: wxEuphoria vs Win32EuLib ?
- Posted by ghaberek (admin) Jun 12, 2009
- 981 views
- Matt's promise to never abandon it.
Hey, Greg's been doing more with wxEuphoria lately than I have.
That's true! How could I forget?!? Sorry Greg!
So, I'll hire ninjas to kidnap you guys and bring you to the dungeon, where you'll toil away forever on wxEuphoria. Okay, at least until v1.0.
I haven't been doing much lately. Things like life and work often get in the way. It's not really a who-does-what-more-or-less situation anyway. I too, am looking forward to Eu 4.0 so we can work on building wxEuphoria around it. *sigh* Many of my project seem to be on hold, waiting for Eu 4.0 to be released.
To the OP, I suggest "cutting your teeth" on Win32Lib. There are fewer paradigms to wrap your head around compared to wxEuphoria (like frames and panels, sizers, notebooks, and even compiling dlls). Once you're to the point that you can build an app in code with Win32Lib (without the IDE), then wxEuphoria will be a breeze. (Especially since it has such nifty features like sizers, so much can be done for you!)
-Greg