On second thought, that may not be such a good idea. I was assuming that you had a duplicate library declared previously in VFP. It may be that the name you are using is the same as a Windows system library. What is the class name?
Larry
>Hi people, I try to compile an exe with public oleclass, but i obtain this error:
>Error OLE code: 0x8002802d: the name already exists in the library
>
>how i can fix this?
>
>Best Regards
>
>Francisco Morosini