Open Source Tutorials & Articles
-
Direct Input 8
by David NishimotoHow to implement Direct Input 8 for the mouse and keyboard in MFC
-
Surviving the Release Version
by Joseph M. NewcomerOK, you've built the project, debugged it, and you're ready to ship. You compile the Release version of the program, and your world crumbles to dust. Find out what can be wrong, and what you can do about it.
-
Attaching and Detaching Objects
by Joseph M. NewcomerWhen you create an Windows-related object in MFC, you are actually creating a "wrapper" around the underlying object. There are interactions between MFC and Windows which can get you into serious trouble if you are not careful. Read this to learn more.
-
Using Adobe Flex in Visual Studio
by Matt WicksYou can now take advantage of the Flex framework from right within Visual Studio to build Rich Internet Applications (RIAs). We get you up to speed on what Flex is and a basic application talking to a web service.
-
Typical errors of porting C++ code on the 64-bit platform
by Andrey KarpovProgram errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of the code analysis which allow to diagnose the errors discussed, are listed.
-
Test-Driven Development in .NET
by Peter ProvostAn article presenting benefits and techniques for using test-driven development in .NET, specifically examining the NUnit testing framework.
-
Unicode and .NET
by Jon SkeetAn introduction to the murky world of Unicode and character encodings.
-
How the .NET Debugger Works
by Jon ShuteIn theory the .NET debugging API is simple and a joy to use, but there is a lack of a detailed overview as to how to use it in the framework SDK. In this article, we'll cover how to write a debugger under .NET, and will also touch on the profiling API support.
-
How to PING
by Randy Charles MorinIntroduces Internet Control Message Protocol (ICMP) and how to generate ICMP packets to send a "ping" in C++.
-
Wireless Markup Language (WML) Tutorial
by Gez LemonGez Lemon introduces WML - the markup language used to make sites suitable for viewing using a WAP (Wireless Application Protocol) device - covering cards, timers, tasks, getting user input and creating dynamic pages.
-
Handling multiple socket read & write operations
by Len Holgate"How do you handle the problem of multiple pending WSARecv() calls?" is a common question on the Winsock news groups. It seems that everyone knows that it's often a good idea to have more than one outstanding read waiting on a socket and everyone's equally aware that sometimes code doesn't work right when you do that. This article explains the potential problems with multiple pending recvs.
-
.NET Threading Part II
by Randy Charles MorinThis is the second article of two parts on .NET threading. In this second part, I will discuss further the synchronization objects in the System.Threading .NET namespace, thread local storage, COM interoperability and thread states.
-
AI 2 - Game Playing (Artificial intelligence)
by Chris StonesPart 2 of my Artificial intelligence tutorial. Extends what you learn in the first tutorial and explains the techniques needed to program a 2 player Game (human vs computer) uses tic tac toe as an example.
-
XP, Component Services and .NET
by John GodelLearn about the changes introduced by COM+, new features included in Windows XP for COM+, and how to use COM+ services from your .NET programs.
-
A reusable Windows socket server class
by Len HolgateWriting a high performance server that runs on Windows NT and uses sockets to communicate with the outside world isn't that hard once you dig through the API references. What's more most of the code is common between all of the servers that you're likely to want to write. It should be possible to wrap all of the common code up in some easy to reuse classes.
-
Calling a C++ DLL from Visual Basic
by Kevin SaittaKevin Saitta takes you through the steps of creating a C++ dll and then calling it from VB.
-
COM Interoperability in .NET Part 2
by G.Gnana Arun GaneshThis article elucidates how to build and install-managed code that will be used from COM applications. A classic COM server is activated using the Service Control Manager (SCM).
-
A Quick view from C/C++ to C#
by John GodelA quick view from C/C++ to C#, the new .NET language from Microsoft
-
Avoiding GetDlgItem in MFC
by Joseph M. NewcomerMy view: If you're writing more than one GetDlgItem per year, you're probably not using MFC correctly. Find out why, and what to do about it.
-
New Object-Oriented Capabilities in VB.NET
by Wrox PressA sample chapter from the Wrox book, VB.NET Programming.