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/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://msdn.microsoft.com/en-us/library/ms862119.aspx COM and DCOM Registry Settings for CE 5.0]
* [http://msdn.microsoft.com/en-us/library/ms691424(VS.85).aspx CLSID Key]
===Component Object Model (General)===
* [http://msdn.microsoft.com/en-us/library/ms809311.aspx DCOM Architecture]
* [http://msdn.microsoft.com/en-us/library/ms809975.aspx Creating and Registering COM Components with LocalService]
* [http://msdn.microsoft.com/en-us/library/ms809974.aspx Inside Distributed COM: Type Libraries and Language Integration]
===Trouble shooting===


If it won't work and you get strange errors like<br>  
If it won't work and you get strange errors like<br>  

Revision as of 06:06, 29 January 2009

<google>ENGELSK</google>

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