That would definitely take longer than memory allocation.
>It's not a memory issue, it's a performance issue. NEWOBJECT() is slower because it has to find the specified library, open it (doing all the necessary parsing), instantiate the class, and close the class library. With SET CLASSLIB TO, you skip all but the instantiating task when you CREATEOBJECT().
>
>Doug
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer