1. wxwin32lib (was Re: ESL project)
- Posted by ags <eu at 531pi.co.nz> Jan 20, 2006
- 494 views
- Last edited Jan 21, 2006
Matt Lewis wrote: > > Jeremy Peterson wrote: > > > > I've posted the esl modules to the archive, and they can be retrieved from > > there > > if D. wants to use them for the project. I guess now I'll need something > > else > > to do, any suggestions? > > > > Port Edita to wxEuphoria. > > Matt Lewis Would it be possible to port win32lib to wxEuphoria? ie have a kind of 'compatibility' include file like wxwin32lib.ew that had an identical API to win32lib but using wxEuphoria calls to do everything? Before anyone asks, I'm sure the merit in this would be great. For existing win32lib projects, just replace 'include win32lib.ew' with 'include wxwin32lib.ew' and viola, almost instantaneous porting to Linux... Of course there might be issues with paths and other non ported win32 specific includes but it might make the porting process a heck of a lot easier. How much work would that be? Would it actually be a Good Thing? Gary
2. Re: wxwin32lib (was Re: ESL project)
- Posted by don cole <doncole at pacbell.net> Jan 21, 2006
- 478 views
ags wrote: > > Matt Lewis wrote: > > > > Jeremy Peterson wrote: > > > > > > I've posted the esl modules to the archive, and they can be retrieved from > > > there > > > if D. wants to use them for the project. I guess now I'll need something > > > else > > > to do, any suggestions? > > > > > > > Port Edita to wxEuphoria. > > > > Matt Lewis > > Would it be possible to port win32lib to wxEuphoria? > > ie have a kind of 'compatibility' include file like wxwin32lib.ew that had an > identical API to win32lib but using wxEuphoria calls to do everything? > > Before anyone asks, I'm sure the merit in this would be great. For existing > win32lib projects, just replace 'include win32lib.ew' with 'include > wxwin32lib.ew' > and viola, almost instantaneous porting to Linux... > > Of course there might be issues with paths and other non ported win32 specific > includes but it might make the porting process a heck of a lot easier. > > How much work would that be? > > Would it actually be a Good Thing? > > Gary I inquired about this before and got no response. I guess the first problem would be to convert the control Window from Window1 = createEx( Window, "Find", 0, Default, Default, 587, 394, 0, 0 ) (all those numbers) to the wx frame stuff. I'm don't know if that can bee done. I'm going to fool with it. Don Cole A Bug is an un-documented feature. A Feature is a documented Bug.
3. Re: wxwin32lib (was Re: ESL project)
- Posted by Jason Gade <jaygade at yahoo.com> Jan 21, 2006
- 461 views
don cole wrote: > > ags wrote: > > > > Matt Lewis wrote: > > > > > > Jeremy Peterson wrote: > > > > > > > > I've posted the esl modules to the archive, and they can be retrieved > > > > from > there</font></i> > > > > if D. wants to use them for the project. I guess now I'll need > > > > something else > > > > to do, any suggestions? > > > > > > > > > > Port Edita to wxEuphoria. > > > > > > Matt Lewis > > > > Would it be possible to port win32lib to wxEuphoria? > > > > ie have a kind of 'compatibility' include file like wxwin32lib.ew that had > > an > > identical API to win32lib but using wxEuphoria calls to do everything? > > > > Before anyone asks, I'm sure the merit in this would be great. For existing > > win32lib projects, just replace 'include win32lib.ew' with 'include > > wxwin32lib.ew' > > and viola, almost instantaneous porting to Linux... > > > > Of course there might be issues with paths and other non ported win32 > > specific > > includes but it might make the porting process a heck of a lot easier. > > > > How much work would that be? > > > > Would it actually be a Good Thing? > > > > Gary > > I inquired about this before and got no response. > I guess the first problem would be to convert the control Window > from > Window1 = createEx( Window, "Find", 0, Default, Default, 587, 394, 0, 0 ) > (all those numbers) to the wx frame stuff. > I'm don't know if that can bee done. > I'm going to fool with it. > > > Don Cole It might be possible, but it would be a lot of work. Probably worthwhile, though. -- "The author regrets that he is unable to reconcile himself to the thoughtful point of view you have expressed. However, it must be kept in mind that being raised in different cultures and different places can result in such differences of viewpoint between individuals. The author is from planet Earth." [author unknown] j.
4. Re: wxwin32lib (was Re: ESL project)
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Jan 21, 2006
- 485 views
ags wrote: > > Would it be possible to port win32lib to wxEuphoria? > > ie have a kind of 'compatibility' include file like wxwin32lib.ew that had an > identical API to win32lib but using wxEuphoria calls to do everything? For certain things, it would be fairly easy. Most create statements can be easily translated. However, other things might not be so easy, as they sometimes require extra information (setting certain event handlers). > Before anyone asks, I'm sure the merit in this would be great. For existing > win32lib projects, just replace 'include win32lib.ew' with 'include > wxwin32lib.ew' > and viola, almost instantaneous porting to Linux... > > Of course there might be issues with paths and other non ported win32 specific > includes but it might make the porting process a heck of a lot easier. > > How much work would that be? A fair amount, I expect. Why don't you get back to us on that?> Would it actually be a Good Thing? If it worked, it would be a Good Thing. Perhaps a translator would be more useful, since it's unlikely that any non-trivial program will run correctly (especially cross platform) right out of the gate. Matt Lewis
5. Re: wxwin32lib (was Re: ESL project)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 22, 2006
- 480 views
On Sat, 21 Jan 2006 05:01:40 -0800, Matt Lewis <guest at RapidEuphoria.com> wrote: >ags wrote: >> >> Would it be possible to port win32lib to wxEuphoria? >> <snip> I would also suggest that any such project be approached with the intention of possibly modifying BOTH wxEu API and win32lib API towards some common ground, rather than trying to shoe-horn one into the other or vice versa. Not that I can say that will necessarily be needed... Regards, Pete