Tip Bank

DevX - Software Development Resource

Programmatically register an ActiveX control or DLL

All ActiveX DLL or OCX export two functions: DllRegisterServer and DllUnregisterServer. They are used to register and unregister the ActiveX in the Windows registry, and are usually invoked from regsvr32.exe

DevX - Software Development Resource

Register and unregister type libraries

All COM-oriented VB developers know how to register and unregister an ActiveX DLL, using the REGSVR32 utility. However, there is no such an utility to register and unregister a type

DevX - Software Development Resource

Pushing an Applet from a Servlet

When trying to use an applet inside a servlet using the applet tag: out.println(“” + “”) Two things must be kept in mind: 1.You must include the codebase in the

DevX - Software Development Resource

Treat enum Types as Ordinary Types

You can use an enum type as you would use any other type: You can create arrays thereof, allocated it dynamically using operator new, define pointers to it and return

DevX - Software Development Resource

Understanding Member Function Lookup Rules

Function lookup stops at a scope. In the case of class hierarchies, this means that a function?either virtual or not?declared in a derived class can hide a virtual member function