Page 1 of 1

i have an IDEA!!!

Posted: Fri May 25, 2007 7:24 pm
by com1
could i possibly get my kernel to accept certain commands, like the windows kernel accepts "winmain", etc.? i could change certain windows-oriented functions in popular programs and compile them on my OS. then, users could run these programs on the SHANOS OS. if i can't do this, what else can i do to reconstruct the windows API for my OS?

P.S.

Do i have to make a windows clone like ReactOS did?


i am willing to spend as much time as possible on it

I have a idea too. You posted in the wrong sub forum.

Posted: Fri May 25, 2007 7:37 pm
by Kevin McGuire
You know this really sounds more like a question than:

1. Announcement/Announcement-Discussion
2. Test Request/Discussion
3. Job Opening/Discussion

What do you think?

Re: i have an IDEA!!!

Posted: Fri May 25, 2007 7:57 pm
by pcmattman
Um... WinMain is a part of the Windows runtime. To do this in your own OS you need to make a userland runtime for your OS that supports Windows.

ReactOS is the closest to Windows that's open source that you'll get, and trying to do it by yourself is pure insanity.

Re: i have an IDEA!!!

Posted: Sat May 26, 2007 1:56 am
by AndrewAPrice
com1 wrote:could i possibly get my kernel to accept certain commands, like the windows kernel accepts "winmain", etc.? i could change certain windows-oriented functions in popular programs and compile them on my OS. then, users could run these programs on the SHANOS OS. if i can't do this, what else can i do to reconstruct the windows API for my OS?

P.S.

Do i have to make a windows clone like ReactOS did?


i am willing to spend as much time as possible on it
Try Wine (http://www.winehq.org) - it's an implementation of the Windows API on other operating systems, so that Windows programs can run natively on the system at near native speeds.

For games, there's Cedega (formally WineX). It's basically Wine with DirectX extensions. The source code for Cedega is free via CVS, but you have to pay for the binary version (and for their launching program).