>It makes sense to me that it should work as well.
>
>I figured out what was going wrong. I was using a 'SET LIBRARY TO' command in my INIT method. For some odd reason, the current directory is not the same as the calling COM server's current directory so it wasn't finding the library and the class doesn't know how to handle the error. The error doesn't fire off my 'PROCEDURE ERROR' routine in my DLL. I wrote some code in that routine which writes the error message and associated info to a text file via the STRTOFILE command yet the file never gets created. I wonder why that is...
The default directory for any in-process COM object will always be the default directory of the application that instantiated it. For example, if you create an instance of mycom.myclass from myapp.exe located in C:\MyFolder, that folder will be the default directory. This is because an in-proc is exactly that, running in the same address space that created the object.
George
Ubi caritas et amor, deus ibi est