Learn How to Create Dual Mode Windows Services
Learn how to create a dual mode service so you can run your services as either console apps or through Windows Services.
Learn how to create a dual mode service so you can run your services as either console apps or through Windows Services.
Replacing the cumbersome and confusing Managed Extensions for C++ that shipped with Visual C++ 2002 and 2003, C++/CLI is a standardized set of C++ language extensions that allows developers to write managed code that executes on top of the .NET Framework.
Learn how to create a DLL, implementing the Stdcall calling convention. This DLL wraps a .NET DLL, which then is imported in MetaTrader 4 through the wrapper.
Tom Archer presents a generic Managed C++ function that searches a directory hierarchy for all instances of a specified file name, utilizing the .NET DirectoryInfo and FileInfo classes.
In some situations, it is beneficial to have a single class implement two interfaces. Tom Archer illustrates this technique and explains when you would want to use it.
Evaluate a number of the ways in which .NET generics differ from C++ templates.
Learn about a step-by-step technique for versioning your serialized files so that your application can handle current and older file formats, as well as properly deal with situations where the application is older than the file format being read.
Learn how to create a Windows Service that takes an action on a scheduled interval by using classes in the System.ServiceProcess.ServiceBase and System.Timers namespaces, among others.
For years, writing a service meant writing in Visual C++. Well, now you can learn how they are super easy to make in Managed C++ as well as VB .NET or C#!
Learn about some of the changes to Visual C++ .NET, the compiler, and related developer tools coming in "Whidbey."
If you're writing a new Managed C++ application and you're thinking of using collections in that code, you may be unsure whether to use STL collections or a class from the Base Class Library. Learn your choices.
With the release of Visual Studio .NET, many developers are now willing to consider using the new technology known as managed code. But especially for C++ developers, it can be a bit confusing. That's because C++ is special.