>I'm using VFP 7.0
>
>I was under the impression that I didn't have to Set ClassLib inside an exe file. All I had to do was include the ClassLib in the project when I built the exe file.
>
>My exe file just stops dead (no error, not anything) when it encounters NewObject() (method or function) if I haven't specifically Set ClassLib to the ClassLib in question. Even including the ClassLib in the NewObject() parameters doesn't help.
>
>Am I missing something?
>
>TIA
Bill,
These work for me :
oObj = NewObject('ClassName','ClassLibName.ext','',Param1...)
this.NewObject('ObjName','ClassName','ClassLibName.ext','',Param1...)
Cetin