Geoff,
Ok, I'm pretty sure that you can't pass an object reference across the COM boundary.
Why not let your app simply make calls into the COM object to carry out the allowed tasks? Or let your COM return a value that allows the app to instantiate the container itself?
>I was getting an object does not exist message.
>
>The dll was created using VFP7
>
>I have an application which interfaces to multiple accounting packages. Each package has different options and settings. My DLL adds a container object to the main applications setting form with that interfaces options.
>
>The DLL also handles the mapping (import/export) functions to the main applications tables.
>
>The main application is generic in that the application tables vary from implimentation to implimentation.
>
>What I do not understand is how to create a pointer to my current form (ie @THISFORM or @THIS.PARENT)
>
>Also, when I check for the existence of a form it looks for a form using the name property for that form, yet I cannot reference the form object using that name.