1. First foray into Windows programming
- Posted by smudger Dec 15, 2010
- 1549 views
I want to develop a small program in Windows. I'm not much of a programmer and I have hitherto been writing mainly what I think of as "scripts" rather than applications (i.e. HTML, CSS, PHP, VBA Macros for Excel). I have done the "scriptwriting" part for my applet in Euphoria in a CMD window and I am ready to try my hand at writing a Windows program.
Now, I understand that I need a system to interface Euphoria to Windows and my choices seem to be from:
Win32Lib
WxWidgets
EuGtk
EuIup
Now as far as I can tell, GTK is for Linux only and the Euphoria wrapper for WxWidgets is in its infancy as is the wrapper for Iup.
Question: As I'm starting from scratch, I have nothing invested in any particular choice, so which one should I go for? I can wait a while for the WxWidgets or Iup wrappers to mature.
Also I'm thinking in the future that I might want to do simple 2-D graphics (think graphs or pie charts). Do all of the above options allow for this and if so, are some simpler/easier to implement simple graphics than others?
Lastly, can anyone point me to a good web-tutorial for complete Windows-programming novices that shows you how to get started writing windows programs?
Cheers,
Smudger
2. Re: First foray into Windows programming
- Posted by jeremy (admin) Dec 15, 2010
- 1551 views
EuIup is considered alpha not necessarly because it's bug ridden but that it's not what I consider feature complete. Right now it's a base wrapper around Iup. Before it goes beta and RC I want to add a whole lot more euphoric wrappers and helpers. The core should always remain usable though, so I don't see Iup changing enough at its core to break user applications (although I will not guarantee anything, being in alpha status if I find something I want the ability to change it). What I do see happening is someone using EuIup and then in 3 months being able to cut their GUI code in half. So initially they have done more work by using the "raw" Iup wrappers then when Iup is nearing completion with all sorts of Euphoria based helpers.
As for canvas work. It has a canvas widget built in w/charting, events. It has an OpenGL canvas as well. Not yet wrapped is the advanced image manipulation library which provides hundreds of functions for working directly with images, doing transformations, etc...
I would recommend taking a peek at the Iup website and then comparing to the EuIup website to see what is and isn't wrapped. Bascially, 100% of Iup, the vast majority of the Canvas Draw package and nothing from the IM library yet.
- http://www.tecgraf.puc-rio.br/iup/ - Iup
- http://www.tecgraf.puc-rio.br/cd/ - Canvas Draw
- http://www.tecgraf.puc-rio.br/im/ - Image Manipulation
- http://jeremy.cowgar.com/euiup/ - EuIUP
Jeremy
3. Re: First foray into Windows programming
- Posted by mattlewis (admin) Dec 15, 2010
- 1503 views
Now as far as I can tell, GTK is for Linux only and the Euphoria wrapper for WxWidgets is in its infancy as is the wrapper for Iup.
I don't think I'd describe wxEuphoria's state as infancy. It doesn't wrap all of wxWidgets, but it certainly gets the most important stuff. New classes are, at this point, fairly easy to wrap. Its biggest hurdle to further development right now is the time I spend working on Euphoria itself. Also, for windows, we can't build anything past 2.8.7 using Watcom. But it is very functional.
Question: As I'm starting from scratch, I have nothing invested in any particular choice, so which one should I go for? I can wait a while for the WxWidgets or Iup wrappers to mature.
Also I'm thinking in the future that I might want to do simple 2-D graphics (think graphs or pie charts). Do all of the above options allow for this and if so, are some simpler/easier to implement simple graphics than others?
Lastly, can anyone point me to a good web-tutorial for complete Windows-programming novices that shows you how to get started writing windows programs?
I don't see why wxEuphoria couldn't do what you're talking about. euphoric has some wxEuphoria tutorial stuff here:
http://www.usingeuphoria.com/?page=wxeuphoria
It also comes with a lot of demos (many of which were converted from original Win32Lib demos).
Matt
4. Re: First foray into Windows programming
- Posted by petelomax Dec 15, 2010
- 1461 views
My weapon of choice is Arwen, mainly because it is so very simple, yet plenty good enough to write Edita with.
Pete
5. Re: First foray into Windows programming
- Posted by ChrisB (moderator) Dec 15, 2010
- 1518 views
Hi
You are going to hear as many options as possibiliies. I suggest you play, they all have pros and cons. Win32lib is the most mature / complete, Cini's euwingui is very simple. You won't go too wrong with any og the libs.
Chris