COM and .NET - Links to documents and tutorials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 17: | Line 17: | ||
:* [http://msdn.microsoft.com/en-us/library/4a9t8a9a.aspx Step 3: Checking the Global Assembly Cache] | :* [http://msdn.microsoft.com/en-us/library/4a9t8a9a.aspx Step 3: Checking the Global Assembly Cache] | ||
:* [http://msdn.microsoft.com/en-us/library/15hyw9x3.aspx Step 4: Locating the Assembly through Codebases or Probing] | :* [http://msdn.microsoft.com/en-us/library/15hyw9x3.aspx Step 4: Locating the Assembly through Codebases or Probing] | ||
====Loading Assemblies from code==== | |||
* [http://msdn.microsoft.com/en-us/library/25y1ya39.aspx How to: Load Assemblies into an Application Domain] (Preferred) | |||
* [http://msdn.microsoft.com/en-us/library/system.reflection.assembly.loadfrom.aspx Assembly..::.LoadFrom Method] | * [http://msdn.microsoft.com/en-us/library/system.reflection.assembly.loadfrom.aspx Assembly..::.LoadFrom Method] | ||
Latest revision as of 07:25, 19 February 2009
<google>ENGELSK</google>
Making C# .NET COM Servers
- Exposing .NET Components to COM - A method of calling .NET functions from a COM enabled non .NET environment through a COM callable wrapper
- Building COM Servers in .NET - Learn the fundamental principles of building COM DLL and EXE Servers using a .NET language
- Build and Deploy a .NET COM Assembly
Merge all dependencies into one .NET COM component
Locating Assemblies
Loading Assemblies from code
General links about COM how it works and how to register components
Component Object Model (General)
- DCOM Architecture
- Creating and Registering COM Components with LocalService
- Inside Distributed COM: Type Libraries and Language Integration
Trouble shooting
If it won't work and you get strange errors like
- CreateObject (-2146233079 automation error).
- 80010002 "Call was canceled by the message filter"
- 80131522
Try putting try/catch handlers in your .NET code (especially the constructor) with tracing...
Use Trace.WriteLine(e); and Sysinternals Dbgview.exe to trace what is happening