views:

67

answers:

2

Hello,

Recently I needed to do some more advanced tweaking in our MSBuild/VS2008-based build system. My background is mostly UNIX systems, so I lacked knowledge on Windows-specific things; f.e. one of the surprises for me were that there are several different runtimes, which seem to be incompatible when linking two native projects compiled with different runtime libraries. I don't even know what to look for, so any help with making this question more precise is welcome ;-)

Are there any good books that explain these topics, together with some best practices?

+1  A: 

Best book on Windows programming: Windows Via C++.

And anything else from Jeff Richter.

Important Caveat: I just noticed that Windows via C++ is missing two very important chapters from the previous (4th) edition. I highly recommend you somehow get Programming Applications for Microsoft Windows, 4th Edition just for Part VI: Windowing.

Alex
Looks nice. When I receive this book and check it, I'll make this answer as accepted.
liori
`Windows Via C++` seems very verbose and I feel it is not getting into enough details. Main thing is that the book is thicker than necessary because of long code examples. Still noone suggested any other book... I'm not interested in UI, so I'm not going to check that second Richter book. Thank you.
liori
+1  A: 

I guess you need to take a look in Project Properties -> Linker -> System -> Subsystem. Take a look at description of the property in MSDN.

Actually, MSDN with Bing is usualy the main source of any windows information along with books of Microsoft press, like man pages in UNIX

Anton K
I'd like to be better prepared next time, and not to stumble upon such gotchas while doing the task. MSDN and searching the net is good when you look for some specific problems, and not to learn systematically.
liori
You're looking for a specific problem, considering the runtimes. There are the following:http://msdn.microsoft.com/en-us/library/abx4dbyh.aspx (more specific),http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx (more specific),http://msdn.microsoft.com/en-us/library/60k1461a.aspx (more common).MSDN have articles for systematic learning, like http://msdn.microsoft.com/en-us/library/ff381399%28VS.85%29.aspx
Anton K
I didn't know MSDN also have tutorial-style documentation. Is there some kind of set of articles on this topic prepared for printing?
liori
Sorry, I don't know. I've never printed it.
Anton K