Can I use dcmtk as a shared dll in vc?

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
myching
Posts: 12
Joined: Wed, 2005-09-21, 09:58

Can I use dcmtk as a shared dll in vc?

#1 Post by myching »

another word ,how can i get dll from dcmtk ?

Alexander Fedotov
Posts: 53
Joined: Thu, 2005-04-14, 15:07
Location: St. Petersburg, Russia

Re: Can I use dcmtk as a shared dll in vc?

#2 Post by Alexander Fedotov »

[quote="myching"]another word ,how can i get dll from dcmtk ?[/quote]

I think the best way is to create an own "wrapper" project.

Regards,
Alexander.

NavdeepKooner
Posts: 15
Joined: Wed, 2007-10-31, 06:56

Regarding Dcmk integration with C#.Net

#3 Post by NavdeepKooner »

hi everyone

I have just started working on Dcmk library.I want to integrated dcmtk with my software.For that i need to have dcmtk.dll.I dont know frm where i should get that dll.

Thanks in Advance

Navdeep Kooner
________
Medical marijuana dispensary
________
STEAMING
Last edited by NavdeepKooner on Fri, 2011-02-18, 22:42, edited 2 times in total.

NavdeepKooner
Posts: 15
Joined: Wed, 2007-10-31, 06:56

can i use dcmtk as a shared dll in C#.Net?

#4 Post by NavdeepKooner »

hi everyone

In case i get the dcmtk dll in VC++ then how i will intergrate it with C#.Net application?????


with regards
Navdeep Kooner
________
Herbalaire Vaporizer Review
________
Wiki Vaporizer
Last edited by NavdeepKooner on Fri, 2011-02-18, 22:42, edited 2 times in total.

Alexander Fedotov
Posts: 53
Joined: Thu, 2005-04-14, 15:07
Location: St. Petersburg, Russia

Re: can i use dcmtk as a shared dll in C#.Net?

#5 Post by Alexander Fedotov »

[quote="NavdeepKooner"]

In case i get the dcmtk dll in VC++ then how i will intergrate it with C#.Net application?????
[/quote]

Not 'get', but create. For example, a wraper COM DLL.
In this case there won't be any problems with the integration.

NavdeepKooner
Posts: 15
Joined: Wed, 2007-10-31, 06:56

Regarding Dcmtk Dll creation

#6 Post by NavdeepKooner »

Can i create dcmtk dll in C#.Net....if its possible then plz tell me frm where to start as i am a beginner in this aspect..

Thanks in advance
Navdeep
________
Roor Bong Pictures
________
Hemp
Last edited by NavdeepKooner on Fri, 2011-02-18, 22:42, edited 2 times in total.

Alexander Fedotov
Posts: 53
Joined: Thu, 2005-04-14, 15:07
Location: St. Petersburg, Russia

Re: Regarding Dcmtk Dll creation

#7 Post by Alexander Fedotov »

[quote="NavdeepKooner"]Can i create dcmtk dll in C#.Net....
Navdeep[/quote]

I don't think so.
DCMT is a C++ toolkit. Use VS C++ instead of C#.

haim.mamou
Posts: 1
Joined: Wed, 2008-04-09, 15:11

HOWTO encapsulate dcmtk core api inside a .NET component ?

#8 Post by haim.mamou »

Hello everyone,

i know one can create a c sharp wrapper for all or parts of dcmtk library.
The problem is that i am not a C/C++ developper at all and would like (if possible) a step by step doc that would explain how to do that.

i will need to use this .net component from vb.net or c#.net ...

i have a very old vb6 applcation based on a dicom ocx i would like to port to vb.net for example. Using dcmtk would be great as a dicom core api.

Please help,

thanks a lot.

khdani
Posts: 4
Joined: Thu, 2008-07-24, 08:47

c# dll

#9 Post by khdani »

it's possible to wrap a dcmtk function (or whole toolkit - haven't tried that).
create a new project in VS.NET, choose C# class library,
wrap any functionality you need,
build the project and add the dll to C# project.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest