So, I am really enjoying programming, and I love to make games, but I am wanting to also create functional things as well; aka - desktop programs. Simple things that would maybe "shut down computer once song ends" or whatever I desire.
Is there a way to go about doing this? How much would I have to alter the chili framework?
How can I start creating desktop programs?
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: How can I start creating desktop programs?
Check out the MSDN website to learn more about the Windows API.
You need to understand how Windows communicates with you applications. It uses a messaging system through a callback function. Check out MainWindow::HandleMsg to see the messages chili handles in his framework.
This is where you would want to make modifications as well as maybe main.cpp as you wouldn't need a Game object as well as the exception handling might need to be changed.
You need to understand how Windows communicates with you applications. It uses a messaging system through a callback function. Check out MainWindow::HandleMsg to see the messages chili handles in his framework.
This is where you would want to make modifications as well as maybe main.cpp as you wouldn't need a Game object as well as the exception handling might need to be changed.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: How can I start creating desktop programs?
...Wow that seems way out of my grasp. I think I may have to find an inferior non-chili tutorial to get myself started.
Re: How can I start creating desktop programs?
I would avoid using c++ and winapi for doing UI stuff if at all possible. Go c# with .net if targetting windows. If targeting all platforms, see if you can find a framework that would suit your fancy.
Computer too slow? Consider running a VM on your toaster.
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: How can I start creating desktop programs?
I would almost agree with you cameron. C# does make things easier sometimes, and the language syntax isn't TOO different than C++. I still think giving C++ and the Win32 API a go is still worthwhile. In the end though, the .Net framework does make life easier when making Windows GUI applications.
Perhaps a c++ library exists that mimicks the .Net framework...haven't looked.
Perhaps a c++ library exists that mimicks the .Net framework...haven't looked.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: How can I start creating desktop programs?
I like C# for making simple UI apps. If you wanna go hog wild with an app in C++, Qt framework is worth a look. If you wanna try .NET with C++, managed C++ is a thing, though it personally revolts me for some reason.
These tutorials aided me in learning some of the basics of Win32 back in the day, and they're still relevant. http://www.relisoft.com/Win32/index.htm
These tutorials aided me in learning some of the basics of Win32 back in the day, and they're still relevant. http://www.relisoft.com/Win32/index.htm
Chili
Re: How can I start creating desktop programs?
Thanks for the push in the right direction guys.