COM proxies and stubs in C# 
Author Message
 COM proxies and stubs in C#

Hello

I'm a mostly C++ programmer currently considering switching to C#
and I have a few questions for you experienced C# users:

Is the development of a COM server really much quicker with C#?

Is some MIDL-like tool still required to produce the proxy-stub
DLLs, or is all that fully integrated into the C# compiler?

Has anyone had a good experience developing OPC (OLE for Process
Control) components in C#?

Is kernel mode device driver development possible in C#?

Thanks in advance for your responses.

~lionel



Sat, 23 Oct 2004 10:16:13 GMT  
 COM proxies and stubs in C#
First, C# is a programming language 'SYNTAX' only!
It is best to post any more OPC related questions in the
.NET newsgroup:    microsoft.public.dotnet.framework.interop

Quote:
> Is kernel mode device driver development possible in C#?

NO way.

Quote:
> Is the development of a COM server really much quicker with C#?

.NET/C# was not designed/optimized to create (out-of-proc) COM servers,
but using advanced 'Interop' you could create workarounds...

Quote:
> developing OPC (OLE for Process Control) components in C#?

Note, OPC has two levels of interfaces:
 - custom
 - automation
While writing an OPC automation component could? work,
a custom level server is heavy...

IMHO, the fastest way to create an OPC server
is still using e.g. one of the $$$ C++ toolkits:
    http://www.opcconnect.com/source.shtml

some links:
 http://www.opcconnect.com/tooltech.shtml
 http://www.codeproject.com/useritems/opcdotnet.asp

--
  NETMaster  (Thomas Scheidegger)
  http://www.cetus-links.org/oo_csharp.html

Quote:

> I'm a mostly C++ programmer currently considering switching to C#
> and I have a few questions for you experienced C# users:
> Is the development of a COM server really much quicker with C#?
> Is some MIDL-like tool still required to produce the proxy-stub
> DLLs, or is all that fully integrated into the C# compiler?
> Has anyone had a good experience developing OPC (OLE for Process
> Control) components in C#?
> Is kernel mode device driver development possible in C#?
> Thanks in advance for your responses.



Sat, 23 Oct 2004 16:08:34 GMT  
 COM proxies and stubs in C#

Thank you very much Thomas for the information. I find C# very
attractive, but it looks like I'll have to forget about it, at
least for my current projects :(

Quote:

> .NET/C# was not designed/optimized to create (out-of-proc) COM servers,
> but using advanced 'Interop' you could create workarounds...

(...)


Sat, 23 Oct 2004 20:42:48 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ATL COM DLL without proxy/stub

2. Registering proxy/stub for Side by Side COM Components

3. Packing Proxy-Stub Dll in the COM Executable.

4. COM - standard proxy/stub marshalling VS typelib marshalling ?

5. COM - standard proxy/stub marshalling VS typelib marshalling ?

6. Proxy/Stub for MFC COM exe

7. Proxy/Stub for MFC COM exe

8. Proxy Stub Problem with Visual C++ 7

9. Merge Proxy/stub (in ATL) generated DLL does not change the Proxystubclsid32

10. Proxy Stub Dll

11. poblem in making proxy stub DLL from *.mk file

12. IDL problem : setting Interface inside or outside typelib / Proxy stub vs Aggregation

 

 
Powered by phpBB® Forum Software