none
windn32 dlls with ref class RRS feed

  • Question

  •  

    Hi everyone,

    We have a VC++ RPC Server developed in VC8 . This server hosts a number of drivers developed as Win32 dlls...

    We now have a new requirement, we need this RPC Server to host some dlls developed in c#. Since the RPC Server cannot host C# dlls, we have a developed a  intrefacing module developed as a Win32 dll. This dll has a unmanaged section as well as a managed section (developed as ref classes ).... The managed classes will load the c# dlls and handle communication b/w the RPC Server and c# dlls...

     

    In such as scenario, will garbage collection automatically occur????

     

    Regards

    Sabarish

    Thursday, October 4, 2007 12:05 PM

Answers

  • Garbage collection will always work on the managed types, it's not necessory to have the complete application managed.

     

    Thursday, October 4, 2007 12:22 PM