I had a requirement to send the DICOM files created to the PACS using MergeCom tool kit C++. Can anybody post sample code to read the DICOM file from local and send the same to PACS using MergeCom.
The merge toolkit ships with sample code which is contained in the folder mc3apps. What you are searching for is (in DICOM terms) a C-STORE SCU, and the file with the sample code is stor_scu.c. A brief documentation can be found here. I would post the code but it is very long and copyrighted by Merge. But if you have a legal copy of the toolkit you should be able to find it easily.