Olaf Doschke
Programmer
Every EXE generated with VFP has an embedded manifest and it's easy to modify this by simple having a project.exe.manifest file within the same folder as your project.pjx.
(See
It's well known (for example from Rick Strahl) how to embed information about a COM Server DLL like this:
But is something like this also applicable to a comClass in another EXE? I tried with this, but get error "Error in DLL" when creating the comserver:
The obvious solution will be just normally registering the EXE via oleautomationserver.exe /RegServer, so this is not a hard problem. I just would like to avoid that necessary step for software that lacks an installer. It's a complicated software package and the software distributor that offers this software only offers this in conjunction with using his central backend as a service anyway, they never bothered about creating a setup, partly because a customer can't install the software standalone anyway. I'd like to rear them in the right direction, but they already rejected an offer to do that 2017.
Well, and aside of that such regfree usage of COM Servers not only in DLLs would be handy to have anyway.
Bye, Olaf.
Olaf Doschke Software Engineering
(See
It's well known (for example from Rick Strahl) how to embed information about a COM Server DLL like this:
Code:
<file name="multithreadserver.dll">
<comClass clsid="{af2c2811-0657-4264-a1f5-06d033a969ff}"
threadingModel="Apartment"
progid="multithread.multithreadserver"
description="multithread.multithreadserver" />
</file>
But is something like this also applicable to a comClass in another EXE? I tried with this, but get error "Error in DLL" when creating the comserver:
Code:
<file name="oleautomationserver.exe">
<comClass clsid="{....}"
progid="oleautomationserver.application"
description="oleautomationserver.application" />
</file>
The obvious solution will be just normally registering the EXE via oleautomationserver.exe /RegServer, so this is not a hard problem. I just would like to avoid that necessary step for software that lacks an installer. It's a complicated software package and the software distributor that offers this software only offers this in conjunction with using his central backend as a service anyway, they never bothered about creating a setup, partly because a customer can't install the software standalone anyway. I'd like to rear them in the right direction, but they already rejected an offer to do that 2017.
Well, and aside of that such regfree usage of COM Servers not only in DLLs would be handy to have anyway.
Bye, Olaf.
Olaf Doschke Software Engineering