COM and .NET - Links to documents and tutorials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
* [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] | ||
If it won't work and you get strange errors like<br> | |||
* CreateObject (-2146233079 automation error). | |||
* 80010002 "Call was canceled by the message filter" | |||
* 80131522<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 |
Revision as of 05:48, 29 January 2009
<google>ENGELSK</google>
- 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
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