DLL and Shared Memory

  • Thread starter Thread starter Mark Wai
  • Start date Start date
M

Mark Wai

Hi, I have two questions:

1) We can create DLL from C#. But does the resulting DLL
requires the present of .NET runtime environment?

2) Can C# works with shared memory?

Thanks
 
Hi Mark,

Mark Wai said:
Hi, I have two questions:

1) We can create DLL from C#. But does the resulting DLL
requires the present of .NET runtime environment?

Yes, it's a MUST
2) Can C# works with shared memory?

What you mean with shared memory? if you mean with this share data between
two application if both use the same dll the answer is not, each application
generate a new AppDomain, therefore if you want to exchange info you need to
use something like remoting, or any other IPC method

Cheers,
 
Back
Top