OS inside windows

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
quok
Member
Member
Posts: 490
Joined: Wed Oct 18, 2006 10:43 pm
Location: Kansas City, KS, USA

Re: OS inside windows

Post by quok »

Troy Martin wrote:And bumping after less than an hour is stupider than this thread. If it's at least somewhere near the top, people might read it. "BUMP" just makes us want to read it less.
For reference, I deleted the bump post.

@brokenbylaw: Don't bump your posts like that. It doesn't make people want to read the post any more than they wanted to read it before. Give people a chance to answer. It sometimes takes more than an hour for someone that wants to comment to even see your post.
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: OS inside windows

Post by brokenbylaw »

ok i got my answers directx and C++ will do a good job thank you all for your help ansd sorry of my bad attitude
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: OS inside windows

Post by Troy Martin »

brokenbylaw wrote:sorry of my bad attitude
Hehe, compared to some newcomers around here in the past, you're a godsend :)

I'd say "no" to DirectX personally, and go with something portable like OpenGL. It's probably quite similar, too, although there's no built-in sound and input support (other libraries or possibly libc helps, never really got too far into graphics programming.)
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: OS inside windows

Post by brokenbylaw »

with OPENGL is it just C or can you use C++ on it, and another thing whats a good compiler i really cant get microsoft express 2008 to work the way i need do you know if its easiest to use devCPP to compile my projects... any help would be apreciated
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: OS inside windows

Post by Troy Martin »

DevC++ is great for C/C++ and OpenGL. MS Visual C++ Express is seriously Windows-only and .NET-based.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: OS inside windows

Post by pcmattman »

Hi,

OpenGL is a C API. There are C++ wrappers for it but at its core it is all C.

Also,
i really cant get microsoft express 2008 to work the way i need
Why not? Don't just drop an IDE because it doesn't work the way you need it to, try to figure out if there's a solution to the problem first.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: OS inside windows

Post by neon »

with OPENGL is it just C or can you use C++ on it, and another thing whats a good compiler i really cant get microsoft express 2008 to work the way i need do you know if its easiest to use devCPP to compile my projects... any help would be apreciated
You can use C with C++, so yes, you can use C++ with OpenGL.

Also, there are alot of good compiliers out there - Visual C++ 2008, Code::Blocks, DevC++, GCC, etc... I recommend just using the one you feel most comfortable with.

Based upon some of the questions you asked in this thread, I have a suspicion you a fairly new to C. If this is the case, I highly recommend waiting on getting into any advanced API, DirectX or OpenGL.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: OS inside windows

Post by brokenbylaw »

i am new to C but i know plenty of C++
the only problem im having with my compiling for directx in VC++ Express 2008 , it wont find the headers so it wont compile so im looknig into other compilers i can use with microsoft directx sdk 2009
other than that i would be able to start
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: OS inside windows

Post by pcmattman »

Hi,
the only problem im having with my compiling for directx in VC++ Express 2008 , it wont find the headers so it wont compile so im looknig into other compilers i can use with microsoft directx sdk 2009
Have you setup your environment properly? Installed the Platform SDK? If you've installed the Platform SDK properly you'll know how to setup your environment for DX.

As I said, don't just switch IDE or compiler because you can't get something like that working, things don't just work out of the box.
cyr1x
Member
Member
Posts: 207
Joined: Tue Aug 21, 2007 1:41 am
Location: Germany

Re: OS inside windows

Post by cyr1x »

Going back to the OS in an OS idea:
I think there's nothing wrong with this idea. Especially it makes it easy to test yout OS.
Linux does run on Linux, too! And I'm seriously thinking about to give my kernel a HAL for Windows.
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: OS inside windows

Post by brokenbylaw »

So i chose not to give up on directx and visual c++ express
do you guys know how to setup the directx sdk 2009 with ms visual studio 2008
any sites would be great
User avatar
Firestryke31
Member
Member
Posts: 550
Joined: Sat Nov 29, 2008 1:07 pm
Location: Throw a dart at central Texas
Contact:

Re: OS inside windows

Post by Firestryke31 »

This assumes MSVC++, but I'd guess the steps are very similar under other VS programs...

Install MSVC++, then install the DirectX SDK.

If you did it out of order (i.e. already had the SDK installed) or something still doesn't work then go to Tools->Options, then select "VC++ Directories" under "Projects and Solutions." Now in the drop-down box select "Include Files" and see if the DirectX SDK's include path is there. If not, click the folder icon, then the "..." on the new line, and find the SDK include folder. Do the same for both the release and debug library folders under the drop-down "Library Files" and everything should be set up now.

IIRC MSVC++ 2008 came with the Platform SDK, but if yours did not then you should do the same with that.
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
Post Reply