What are some good websites for Win32 SDK programming tutorials?
The generally accepted bible for Win32 is the Petzold book:
http://www.amazon.com/Programming-Windows%C2%AE-Fifth-Microsoft/dp/157231995X
It's not online, but worth purchasing if you're serious about Win32, IMHO.
The best online tutorial with regards to native Win32 programming would have to be The Forger's Win32 API tutorial.
This is my favorite: Win32 Programming by Rector & Newcomer It is massive and goes through all the basic concepts down to the nuts and bolts about Win32 programming.
BTW: Newcomer has a website also with examples (although more related to MFC) here
Absolutely Programming Windows, 5th edition by Charles Petzold.
If you really need a simple starter that will guide you through the basics. You can read "Windows Programming from the Ground Up" by Herbert Schildt. It will be a good forerunner to Charles Petzold. I read Herb Schildt first and then Charles Petzold, and I really was able to understand what Petzold was talking very easily.
Yes, Petzold book (98), Richter book (4), Win32 group for undocumented apis and Windows source code (wine, etc), and Russinovich book also..
Autohotkey source code: http://www.autohotkey.com/download/
Avoid tutorials (by kids for kids)
Read the Petzold + Richter + Adv. Win32 Group (news://nntp.aioe.org/comp.os.ms-windows.programmer.win32)
And avoid Newcomer (newbie in Win32, knows MFC only...)
You can find all the references and getting started tutorials for Win32 SDK programming at MSDN.
Related
What is the easiest way for GUI database programming using C++ and where I can find a lot of tutorials and documentation?
I looked at Qt, but didn't find good tutorials on doing that.
What do you think of MFC? Any resources to recommend for this?
Any ideas?
Thanks.
If you are on Windows I would definitely use Windows Forms. Otherwise, as you have mentioned: QT (I find QT documentation to be pretty good).
If you're just targetting Windows, I'd seriously look at Embarcadero C++ Builder.
The C++ compiler is not as compliant as some, but the VCL framework is ideal for GUI development, and comes with database-aware components straight out of the box.
Since you mention MFC, I assume you're on Windows. Why not Visual Studio C++ Express? It has a GUI builder that creates basic WinForms. There's plenty of documentation and tutorials on MSDN, especially for database interaction (as long as your database is Access, SQL Server, etc). While not fully featured, it is free.
i want to study win32 programming(windows form applications) please advise me good sites or good book (language c++)
Window form applications generally refers to .NET (C#, VB.NET, etc). However, if you want to do win32 windows applications, this is a solid introduction, which I used when learning:
http://www.charlespetzold.com/pw5/
Edit:
Now that I think about it, I also learned Win32 from this source, which is free, and available online:
http://www.relisoft.com/book/
This is the guy we all learned C++ from:
http://www2.research.att.com/~bs/
I'm a new user here, so I can't post another link, but look at his FAQ for ideas on how to learn C++.
C Only
http://www.winprog.org/tutorial/
http://www.functionx.com/win32/index.htm
http://zetcode.com/tutorials/winapi/
C and C++
http://www.tenouk.com/abouttenouk.html
I've been out of the Microsoft stack for a while now, been focused on Linux, open source stuff and web development in PHP. I used to do some desktop app development and some DirectX stuff on Windows in Dev Studio (all C and C++).
I'd like to brush up on the MS stuff just to keep up on what's going on. I've installed MSVC++ 2008 Express but I'm looking for a little side-project to play with. Given my background in C/C++ and familiarity with MFC and STL, what would be a good way to jump back in?
I've been developing on Microsoft stack since 1997, starting with C/C++/MFC/ATL, but all of the recent projects were on .NET platform (C#), so I would recommend learning .NET/C#. C/C++ still has its place, but it loses relevance rather rapidly. If not for legacy projects, we would not even bother with C/C++. Just my 2 cents.
If you want to get back into modern Windows programming you should learn C#/WPF.
If you're looking to get back into windows programming C# ASP.NET 3.5 is a fairly common and current language and framework to start with. This is the direction that the masses of C# .NET guys have been migrating as of late and you may be able to find a wealth of communities and bloggers contributing to that scene.
From the sounds of it, however, it looks like you were doing something along the lines of game development (DirectX and C++). Although more niche and slightly dated there are still a great deal of coders using the language. One of my favorite stops is GameDev.net because of the active community and active forums.
Good luck and have fun!
You could check out the VC++2010 beta, which comes with C++0x support and some MFC updates.
Since you're experienced with Linux, you might want to check out Qt for Windows too.
I fancy wxWidgets very much. It portable, effective and easy to learn especially if you've got some experience from MFC.
I am wondering what are the best community resources for MFC development- such as forums, IRC channels, etc. Currently the only resource I have for finding answered questions on MFC is using google which comes up with Codeproject results or the occasional result on MSDN or some other web page. Now that there is stackoverflow I am sure I will be asking more questions here, but else am I missing?
MVP Tips is a treasure trove of articles and information that relate to visual c++ and MFC. There's not much out there beyond codeplex and the Microsoft news groups/forums
You should also look at the microsoft.public.vc.mfc and microsoft.public.vc.language newsgroups, and the Visual C++ General and Visual C++ Language forums on MSDN, where there are some highly knowledgeable and helpful people. (It's a shame the MSDN forums aren't better designed - they should take a close look at StackOverflow.)
codeproject is my favorite web site
There is also an excellent book
irc #winprog on efnet
I am about to reenter the MFC world after years away for a new job. What resources to people recommend for refreshing the memory? I have been doing mainly C# recently.
Also any MFC centric websites or blogs that people recommend?
The best: The Code Project
For blogs: Your best bet would be the Visual C++ Team Blog.
For books: Programming Windows with MFC is one of the best book on the subject.
For tutorials: Simply search google for various tutorials on MFC.
There's lots of useful information here:
http://www.flounder.com/mvp_tips.htm
I would highly recommend my all-time favorite book: MFC Internals: Inside the Microsoft© Foundation Class Architecture
It is not a 'how-to' book — it is a 'how does it work' book.
Its been a long time since i did any MFC but back then it used to be
"MFC internals" + debug into the MFC code and find what happens which used to be the best resources on MFC
Samples used to be available from Code Project to quickly get you going.
The vital "how do I?" book is http://www.amazon.com/gp/reader/0201185377/ref=sib_dp_pt#reader-link
Codeproject is also invaluable, although many of the 3rd party controls there nowhave counterparts in the new MFC feature pack.
Books are one thing, but I always found that practice was the key with MFC. CodeGuru was my favourite destination to answer anything MFC-related.
There's also that new website. What's it called...that's it - StackOverflow!