1. wxwin32lib (was Re: ESL project)

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

new topic     » topic index » view message » categorize

2. Re: wxwin32lib (was Re: ESL project)

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.

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

3. Re: wxwin32lib (was Re: ESL project)

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.

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

4. Re: wxwin32lib (was Re: ESL project)

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? smile

> 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

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

5. Re: wxwin32lib (was Re: ESL project)

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu