> Hi all,
>
> I have a small problem.
> I have a generic search engine which can search across several different data sets. individually it works fine.
> What I am trying to do is,
> search across all of the data sets looking for information relating to specific search criteria.
> To do this I decided to create a COM Object. thus for each dataset I create an instance of the COM Object.
> this COM Object works well for one dataset, when an instance of the COM object is created I can see it in the task manager. BUT if I create another instance of the com object, and look at the task manager, I only see the one instance. (it appears that both Instances appear to be looking at the one COM Object, I even get "File in use errors" upon activation the second instance")
>
> Is there somewhere where we can say "allow multiple instances"
>
> Thanks
> Mark
Yes. Open the Project Info dialog (Ctrl+J) and activate tab "Servers". Locate your class and select "Single Use" to force the COM EXE to start a new session when you create a new instance of the server class. Important to keep in mind is that you need to program in SHARED mode, so USE tables SHARED and OPEN DATABASE dbc SHARED. Good luck!
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts