Unregistered COM Server
-
Using standard C++ it is a little more complicated, but I can write code to load and run a COM dll that isn't registered with the system (avoiding the need to have administrator privelages). Is this possible with .NET, or do I absolutely have to register a COM dll in order to use it from C#? Nathan
-
Using standard C++ it is a little more complicated, but I can write code to load and run a COM dll that isn't registered with the system (avoiding the need to have administrator privelages). Is this possible with .NET, or do I absolutely have to register a COM dll in order to use it from C#? Nathan
Nathan Holt at EMOM wrote:
do I absolutely have to register a COM dll in order to use it from C#?
Not sure. Most of the time I use a COM dll, I just add a reference to it and all works.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
-
Using standard C++ it is a little more complicated, but I can write code to load and run a COM dll that isn't registered with the system (avoiding the need to have administrator privelages). Is this possible with .NET, or do I absolutely have to register a COM dll in order to use it from C#? Nathan
See Registration-Free COM Interop[^] in MSDN Library. This feature requires at least Windows XP SP2.
DoEvents: Generating unexpected recursion since 1991
-
See Registration-Free COM Interop[^] in MSDN Library. This feature requires at least Windows XP SP2.
DoEvents: Generating unexpected recursion since 1991
Mike Dimmick wrote:
See Registration-Free COM Interop[^] in MSDN Library. This feature requires at least Windows XP SP2.
Thanks! That looks like exactly what I want. Nathan