Sebastian, I forgot to indicate where 'GetClassPtr()' can be found:
The SDK source code uses C++ templates to power the macro LINK_ENTITY_TO_CLASS(mapClassName,DLLClassName) [util.h lines 84-94]. This macro invokes the templated function GetClassPtr( <some_class> ) [cbase.h lines 721-749] which acts as a sort of universal constructor! {OLD}Sneaky_Bastard! Michael A. Hobson icq: #2186709 emial: [EMAIL PROTECTED] _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders