R
ralpugan
Hi,
As you may know, we can isolate a COM object by setting its
reference's Isolated property to "True" in Visual Studio to eliminate
requirement of registration of COM component to make it registration-
free. But as i've tried on .NET 2.0 with VS 2005 and on .NET 3.5 with
VS 2008, when i try to isolate an OCX (that OCX is used to play mp3s),
i get warning in error list during compilation saying:
"Warning Problem isolating COM reference 'PlayMP3': Registry key
'HKEY_CLASSES_ROOT\CLSID\{80b19c85-
fb86-11d4-9eaf-00e07d8de751}\Implemented Categories
\{0DE86A52-2BAA-11CF-A229-00AA003D7352}' was not imported."
Though that "warning", compilation is successful and it seems that
manifest file seems generated fine and can run without registration on
target machine as expected.
However, i wonder why VS emits that "warning" message? Is there any
special behaviour for OCX files when trying to make them registration-
free?
Note: If you re-compile or debug project in VS, warning goes away and
when you make any change on project, it appears on next compilation
again. And the OCX is registered on development machine which
shouldn't be the reason.
I looked at Google and only these links on that page seems relevant,
but there's no solid solution.
http://social.msdn.microsoft.com/Fo.../thread/e030966a-03e2-49a1-9775-48f7b5e1c7c6/
Just wonder the reason of that warning.
Thanks...
Expert
As you may know, we can isolate a COM object by setting its
reference's Isolated property to "True" in Visual Studio to eliminate
requirement of registration of COM component to make it registration-
free. But as i've tried on .NET 2.0 with VS 2005 and on .NET 3.5 with
VS 2008, when i try to isolate an OCX (that OCX is used to play mp3s),
i get warning in error list during compilation saying:
"Warning Problem isolating COM reference 'PlayMP3': Registry key
'HKEY_CLASSES_ROOT\CLSID\{80b19c85-
fb86-11d4-9eaf-00e07d8de751}\Implemented Categories
\{0DE86A52-2BAA-11CF-A229-00AA003D7352}' was not imported."
Though that "warning", compilation is successful and it seems that
manifest file seems generated fine and can run without registration on
target machine as expected.
However, i wonder why VS emits that "warning" message? Is there any
special behaviour for OCX files when trying to make them registration-
free?
Note: If you re-compile or debug project in VS, warning goes away and
when you make any change on project, it appears on next compilation
again. And the OCX is registered on development machine which
shouldn't be the reason.
I looked at Google and only these links on that page seems relevant,
but there's no solid solution.
http://social.msdn.microsoft.com/Fo.../thread/e030966a-03e2-49a1-9775-48f7b5e1c7c6/
Just wonder the reason of that warning.
Thanks...
Expert