Hi Tracy,
VFP will not perform a check during the build if you remove OLEPUBLIC clause.
>Believe it or not this is working. However, when building the app or exe, it requires the .tlb file be located in the directory that it will reside in on the client's machine for the build to complete without errors. That would require that every developer who builds an exe from the source code have it installed.
>
>Is there anyway around that? If we ignore the error, it will build of course, but com interop doesn't work (of course). Not all customers will have this interface so I am wondering how to isolate it somehow?
>
>I think it is due to the events section:
>
>DEFINE CLASS TRAPIEvents AS SESSION OLEPUBLIC
>
>IMPLEMENTS ITRAPIEvents IN "C:\Program Files\Power\API\POWER.CACHSTANDARDAPI.TLB"
>
>etc...
>
>Without that specified though the com interop won't work. We had to put the class definition in our main.prg in order for it to work.
--sb--