Making DLLs from DCMTK libraries

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
puthoorsooraj
Posts: 2
Joined: Mon, 2011-01-03, 21:59

Making DLLs from DCMTK libraries

#1 Post by puthoorsooraj »

Hi,
I am trying to use dcm2xml and xml2dcm in my application. But I am developing my application in c#. How can I convert dcm2xml and xml2dcm into DLLs so that I can use them in my c# application?

Any help is highly appreciated.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

I have no clue about the C# part of your question but the main functionality of the dcm2xml is contained in the writeXML() method of DcmDataset and DcmFileFormat. For the other direction, the code is contained directly in the xml2dcm tool. So I guess that you need to write wrappers ... maybe SWIG is of some help.

puthoorsooraj
Posts: 2
Joined: Mon, 2011-01-03, 21:59

#3 Post by puthoorsooraj »

Hi,
Thanks for the reply. I wrote a wrapper and solved the isuue.

vemulapallia
Posts: 7
Joined: Tue, 2011-01-25, 17:44

Can you help me out

#4 Post by vemulapallia »

Hi,

I have a similar concern as yours. can you please help me out. i need only DICOM 2 XML Conversion. where did you find the files that you wrote wrappers for. what references did you make to the project.

Thanks for the help.

-Av
Av

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest