Registration Free COM with VS 2003
-
I recently learned that on XP (and later) OS, you do not need to register activeX, if you use "isolated" option from vs 2005 menu to create a special manifest file. Does anyone know how can I make the required manifest lines if I only have VS 2003 ? Thanks,
Atara
-
I recently learned that on XP (and later) OS, you do not need to register activeX, if you use "isolated" option from vs 2005 menu to create a special manifest file. Does anyone know how can I make the required manifest lines if I only have VS 2003 ? Thanks,
Atara
VS2003 doesn't create manifest files. I also don't see how a COM dll can work without being registered, unless the manifest contains the GUIDs and so on, and everything has to be in the same directory.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
VS2003 doesn't create manifest files. I also don't see how a COM dll can work without being registered, unless the manifest contains the GUIDs and so on, and everything has to be in the same directory.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
The manifest should contain clsid. This technologie (COM dll can work without being registered) should work on XP sp2, and Vista. according to the documentation it should work on .Net 1.1 but I can not find the exact format of the needed manifest file :( more about this "Reg Free COM" technologie in - http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/[^]
Atara
-
I recently learned that on XP (and later) OS, you do not need to register activeX, if you use "isolated" option from vs 2005 menu to create a special manifest file. Does anyone know how can I make the required manifest lines if I only have VS 2003 ? Thanks,
Atara
I solved it with the help of: (1) Escape DLL Hell - Simplify App Deployment with ClickOnce and Registration-Free COM (VS 2005 Article) http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/ (2) Registration-Free Activation of COM Components: A Walkthrough (VS 2003 Article) http://msdn2.microsoft.com/en-us/library/ms973913.aspx (3) oleView.exe C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\oleView.exe (or . . . \Tools\Bin) oleView.exe: File->View TypeLib The solution: 1. The main manifest (myProg.exe.manifest): ... more files ... 2. The myAxFileN manifest (myAxFileN.X.manifest): The id are taken from oleView.exe: File->View TypeLib generated file. I hope it will help you to start digging your specific needs. Atara
-
I solved it with the help of: (1) Escape DLL Hell - Simplify App Deployment with ClickOnce and Registration-Free COM (VS 2005 Article) http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/ (2) Registration-Free Activation of COM Components: A Walkthrough (VS 2003 Article) http://msdn2.microsoft.com/en-us/library/ms973913.aspx (3) oleView.exe C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\oleView.exe (or . . . \Tools\Bin) oleView.exe: File->View TypeLib The solution: 1. The main manifest (myProg.exe.manifest): ... more files ... 2. The myAxFileN manifest (myAxFileN.X.manifest): The id are taken from oleView.exe: File->View TypeLib generated file. I hope it will help you to start digging your specific needs. Atara