>I created multi-threaded COM server (vfpCOMServer.dll). In other vfp application I created new object with loNewObject=createobject("vfpCOMServer.x") command. In my COM server is any problems.
>
>My question: How I can debug vfpCOMServer?
>
>Thanks,
>jano
It's easiest to debug them before they are compiled into COM servers. IOW, all of your COm servers are just VFP classes first- after you get your code put together, instanciate the object as a VFP class, and test it like that. After you afeel good about it there, you can test it as a COM server.
Also, a good error handling scheme helps a lot to. Check the help for COMRETURNERROR(), and use this function to fill the error structure with meaningful error information in your object's error method. It might also be possible to fill an internal object property with error information in an array that you can access after an error has occurred.
Erik Moore
Clientelligence