   Converting a memory buffer into a file
  Do you guys know any info on how to open a memory buffer into a file? The content in my memory buffer is a XML document, but i dont know how to display the content. Please help~thanx..   
  Language? Type of your memory buffer?   ;  Owh yeah..sorry I forgot to tell you the details. I'm using C++ for an application that uses COPP (Certified Output Protection Protocal)I have an XML fine stored in a pointer://///////////////////////////////////////////////////////////hr = pVmr->QueryInterface(IID_IAMCertifiedOutputProtection,  (void**)&pCOPP);if(SUCCEEDED(hr))//Get the certificate chain    { hr = pCOPP->KeyExchange(&guidRandom, &pbCertificateChain,  &cbCertificateChainLen); }return hr;/////////////////////////////////////////////////////////////////I'd like to know the content of pCOPP as that is where the certificate chain of the driver is. I'm using VC++ by the way. Do you have any ideas?thanx..