Take advantage of COM+ object pooling
VB6 objects can’t be pooled under COM+, because they are apartment threaded. This restriction is void with VB.NET objects (and all .NET objects in general), because they are free-threaded. To
VB6 objects can’t be pooled under COM+, because they are apartment threaded. This restriction is void with VB.NET objects (and all .NET objects in general), because they are free-threaded. To
COM+ 1.5 has the ability to run any server application as a NT service, so that the application is up and running when the machine reboots, before any client makes
Writing a transactional COM+ component with VB.NET is as simple as applying the Transaction attribute to a class that inherits from System.EnterpriseServices.ServicedComponent: Imports System.EnterpriseServices< Transaction()> Public Class BankTransfer Inherits ServicedComponent
To write a function like swap(datatype1, datatype2) that will take any two datatypes in its parameter and swap their values, use function templates.For example, to implement a generic swap function:
In C/C++ header files, it’s often necessary to include the header files of sub classes or classes which are used. For example: #include “a.h”
In some situations, you may want a certain data member of two different objects to be identical. For example, suppose you are writing a graphics program that will render a
In common top-down C/C++ programming, the main() function is written first, and then the functions that it calls, and then in turn the functions those functions call. For relatively small
Tail recursion is a special way of writing recursion in C/C++, which minimizes the time and memory, this can be done just by storing the value of variable in some
‘ Deserialize an object from a file in binary format’ It can handle types that the SOAP serialization can’t’ Requires:’ Imports System.IO’ Imports System.Runtime.Serialization.Formatters.BinaryPrivate Function LoadBinaryData(ByVal path As String) As