> > ...But within a single process it is un-necessary. Either store the > > handle somewhere global (ugly but fine for small apps). > > You cannot be serious. Globals are bad all the time.
Please don't argue about the use of globals. They are valid legal programming code. Granted, they should be avoided, I agree, as it is against the idea of object orientated programming. But not everyone is doing commercial programs etc etc and not everyone has the need to do it another way when a global is perfectly acceptable for their needs (ie: ugly but fine for small apps). I won't say anymore on the matter. :) Andrew This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. _______________________________________________ msvc mailing list msvc@beginthread.com See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.