Paul,
Once you find the MyServer.MyOLEPublicClass1, you get the value from the CLSID key. Then you'll look for the CLSID with that value. Here you'll find what you need. The InprocServer32 key will hold the filename, and usually the full path of the EXE/DLL file.
HTH, Tracy
Tracy Pearson PowerChurch Software
Paul Newton wrote on 2017-07-20:
Hi all
Let's say that I have an out-of-process automation server (MyServer.EXE)
containing OLEPUBLIC classes like MyOLEPublicClass1 etc and then I use CreateObject like this:
o = CreateObject("MyServer.MyOLEPublicClass1")
Class MyOLEPublicClass1 can determine the location of MyServer.EXE using
the _VFP.ServerName property but what I want to do is determine the location of MyServer.EXE BEFORE I use CreateObject. I imagine this should be possible via the registry (looking for an entry that refers to "MyServer.MyOLEPublicClass1" but I cannot get further than that.
Any ideas ? Thanks
Paul Newton