COM and .NET - Links to documents and tutorials: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
* [http://www.codeproject.com/KB/COM/nettocom.aspx Exposing .NET Components to COM - A method of calling .NET functions from a COM enabled non .NET environment through a COM callable wrapper]
* [http://www.codeproject.com/KB/COM/nettocom.aspx Exposing .NET Components to COM - A method of calling .NET functions from a COM enabled non .NET environment through a COM callable wrapper]
* [http://www.codeproject.com/KB/COM/BuildCOMServersInDotNet.aspx Building COM Servers in .NET - Learn the fundamental principles of building COM DLL and EXE Servers using a .NET language]
* [http://www.codeproject.com/KB/COM/BuildCOMServersInDotNet.aspx Building COM Servers in .NET - Learn the fundamental principles of building COM DLL and EXE Servers using a .NET language]
* [http://www.simple-talk.com/dotnet/visual-studio/build-and-deploy-a-.net-com-assembly/ Build and Deploy a .NET COM Assembly]
===Merge all dependencies into one .NET COM component===
===Merge all dependencies into one .NET COM component===
* [http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx ILMerge]
* [http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx ILMerge]
Line 24: Line 25:
Try putting try/catch handlers in your .NET code (especially the constructor) with tracing...<br>
Try putting try/catch handlers in your .NET code (especially the constructor) with tracing...<br>
Use '''Trace.WriteLine(e);''' and Sysinternals Dbgview.exe to trace what is happening
Use '''Trace.WriteLine(e);''' and Sysinternals Dbgview.exe to trace what is happening
==Unsorted links==
* [http://www.simple-talk.com/dotnet/visual-studio/build-and-deploy-a-.net-com-assembly/ Build and Deploy a .NET COM Assembly]

Revision as of 10:49, 18 February 2009

<google>ENGELSK</google>

Making C# .NET COM Servers

Merge all dependencies into one .NET COM component

General links about COM how it works and how to register components

Component Object Model (General)

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

id=siteTree