October 27, 2000

Registering Custom Interfaces

When the object exposes the custom interfaces via standard marshalling, the proxystub DLL is required for marshalling data across the threadprocessescomputer boundaries.The interfaces are specified in an IDL file that could be created manually or, by example by through MS VC++ ATL COM AppWizard. The MIDL compiler processes the IDL

Convert an Input String Into a Proper String

If you want to convert the input string into a proper string usingjavascript, this is a simple function that will perform the task: String.prototype.ProperCase = function() { return this.substr(0,1) .toUpperCase() + this.substr(1, this.length) .toLowerCase() .replace(/((s|’)[a-z])/g, function($0,$1,$2) { return $1.toUpperCase(); });} This function can convert conpound names correctly (eg., “o’brian” willreturn

Basic Event Logging

Any production application should include event logging for troubleshooting and auditing purposes. This code can be placed in any module and called whenever you have an error or event that you want to log. Public Function LogEvent(sFileName As String, sEvent As String) As Boolean’**********************************************************************’ Use to log errors or any