I'm not familiar with MereMortals, so I can't help with the specifics. If you need some general information on creating COM components, there is an article on my web site that may help.
>Craig,
>
>Several errors,
>
>1) Created a subclass of CApplicationCOM. When I attempt to instantiate class I get the OLE error code 0x80004005: Unspecified error
>
>2) When trying to instantiate business objects, the data environment is not instantiated. lAutoCOMInit = .T.
>
>I even overrode the IsComObject procedure and ran the code in my development environment to find problems. After fixing some things, the code all ran and I got the expected results. I then changed the IsComObject back, recompiled the DLL and got the same error messages.
>
>Is there a better way to debug COM servers>
>
>TIA
>
>Rex
>
>>>All,
>>>
>>>I need to supply a compiled process to another application also created in VFP6.0. I am having trouble with COM servers. Is there another way to supply a compiled module to them to integrate into their application.
>>>
>>>TIA
>>>
>>>Rex
>>
>>
>>What's the problem you're having with the COM server?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer