Thomas, > What are the last lines in your msd.h? They are: #define MSD(NAME,CLASS,N) \ typedef msdN<N> CLASS; \ FLEXT_NEW_V(NAME,CLASS) thanks again, Andrew -- Andrew Johnston http://andrewjohnston.net/