Preamble Example for C++ 6.0 and later
void CMFCdicomDlg::OnPreamble2()
{
// Set the preamble
_bstr_t sPreamble("Test String");
m_pLEADDicomDS->Preamble= sPreamble;
m_pLEADDicomDS->SetDSPreamble ();
}
void CMFCdicomDlg::OnPreamble()
{
// Get the preamble
_bstr_t sPreamble = m_pLEADDicomDS->GetDSPreamble();
AfxMessageBox((char*)m_pLEADDicomDS->GetPreamble ());
}