Search found 83 matches

by liuxinming
Mon, 2014-06-30, 10:00
Forum: DCMTK - General
Topic: Stop the listening thread by using the DcmStorageSCP class
Replies: 3
Views: 3976

Re: Stop the listening thread by using the DcmStorageSCP cla

The base class DcmSCP provides a method for this purpose: DcmSCP::stopAfterCurrentAssociation() Yes, I' ve check the codes in scp.cc, and I found that if the value returned by this function is False, there will be a infinite loop for listening. But if I want to manually terminate the loop, how do t...
by liuxinming
Mon, 2014-06-30, 03:11
Forum: DCMTK - General
Topic: Stop the listening thread by using the DcmStorageSCP class
Replies: 3
Views: 3976

Stop the listening thread by using the DcmStorageSCP class

Hi everyone, There is a method called listen in the DcmStorageSCP class. If I call the method in my own sub thread and want to PROPERLY shut down the listening thread, how should I do? At least I can't find any related methods in this class. In fact, when mannually shutting down the thread, memory l...
by liuxinming
Fri, 2014-03-07, 08:54
Forum: DCMTK - General
Topic: Using DcmSCP for C-STORE Request
Replies: 2
Views: 3181

Re: Using DcmSCP for C-STORE Request

Done! Thank you for your advice!
by liuxinming
Tue, 2014-03-04, 08:14
Forum: DCMTK - General
Topic: Using DcmSCP for C-STORE Request
Replies: 2
Views: 3181

Using DcmSCP for C-STORE Request

I' ve read this topic: http://forum.dcmtk.org/viewtopic.php?f=1&t=3417&p=13646&hilit=DCMSCP#p13646 , and I' ve attempted to use the protected member function named receiveDIMSEDataset in order to get the dataset through the network but nothing but a memory leak caused. Another two questi...
by liuxinming
Sun, 2014-01-26, 03:43
Forum: DCMTK - Installation
Topic: Something about the support library
Replies: 2
Views: 8087

Something about the support library

In the dcmtk download page, I can only find the support library for win32 OS. Is there a support libary for win64 OS?
by liuxinming
Tue, 2013-07-16, 02:30
Forum: DCMTK - Installation
Topic: Errors while compiling dcmtk 3.6.0 with VC++ 6.0
Replies: 9
Views: 15897

Re: Errors while compiling dcmtk 3.6.0 with VC++ 6.0

I' ve found the following codes in osconfig.h: #ifdef __cplusplus #define BEGIN_EXTERN_C extern "C" { #define END_EXTERN_C } #else #define BEGIN_EXTERN_C #define END_EXTERN_C #endif and I replaced them with the codes you' ve written above, this error did not arise any more. My Last two que...
by liuxinming
Thu, 2013-07-11, 04:09
Forum: DCMTK - Installation
Topic: How to learn to program with C++ in dcmtk?
Replies: 4
Views: 8826

Re: How to learn to program with C++ in dcmtk?

Sorry but I' m naive in C++ programming too.The only two things I can told you are: 1.Some .lib files didn't be imported. 2.The runtime library you' ve set is not correct You can check the settings about both issues in "Project->settings". The settings are: 1.C/C++->Code generation->Use ru...
by liuxinming
Thu, 2013-07-11, 03:53
Forum: DCMTK - Installation
Topic: Errors while compiling dcmtk 3.6.0 with VC++ 6.0
Replies: 9
Views: 15897

Re: Errors while compiling dcmtk 3.6.0 with VC++ 6.0

enable the flag "HAVE_IOS_NOCREATE" and run CMake to make a correct configuration. It did the trick. I' ve modified this flag. One more problem is that this error: error C2733: second C linkage of overloaded function 'wmemchr' not allowed appeared while compiling I know that it is related...
by liuxinming
Wed, 2013-07-10, 10:56
Forum: DCMTK - Installation
Topic: Errors while compiling dcmtk 3.6.0 with VC++ 6.0
Replies: 9
Views: 15897

Re: Errors while compiling dcmtk 3.6.0 with VC++ 6.0

Done! Thanks a lot! But there is another problem which being described as follow: dcmimgle\libsrc\didispfn.cxx(347) :error C2039: 'nocreate' : is not a member of 'basic_ios<char,struct std::char_traits<char> >' Since C++ no longer supports ios::nocreate, what do I have to do with this issue?
by liuxinming
Wed, 2013-07-10, 10:09
Forum: DCMTK - Installation
Topic: Errors while compiling dcmtk 3.6.0 with VC++ 6.0
Replies: 9
Views: 15897

Re: Errors while compiling dcmtk 3.6.0 with VC++ 6.0

Chung-Yueh Lien wrote:Have you defined the activate "HAVE_TYPENAME" ?
Hint: in osconfig.h,

Code: Select all

/* define if the compiler recognizes typename */
#define HAVE_TYPENAME 1
I' ve just opened osconfig.h and seen these two lines you' ve mentioned. So What shall I do next?
by liuxinming
Wed, 2013-07-10, 09:16
Forum: DCMTK - Installation
Topic: Errors while compiling dcmtk 3.6.0 with VC++ 6.0
Replies: 9
Views: 15897

Errors while compiling dcmtk 3.6.0 with VC++ 6.0

Hello everyone,

Does anyone has seen this error:

dcmtk-3.6.0\dcmjpls\libcharls\scan.h(780) : error C2899: typename cannot be used outside a template declaration

during compilation?

if someone could give me some suggestions, thanks by advance!
by liuxinming
Fri, 2010-08-13, 04:02
Forum: DCMTK - General
Topic: Something about decompression of dicom files
Replies: 1
Views: 2796

Something about decompression of dicom files

Hi, all I remembered that in a previous post it is mentioned that dcmtk didn't support the decompressing of the files coded by jpeg2000 compression algorithm. So I believe that since dcmtk support the transformation between the jpeg2000 and other compression algorithm, I can convert the pixeldatas c...
by liuxinming
Fri, 2010-03-05, 04:43
Forum: DCMTK - Installation
Topic: The compilation of the lastest snapshot
Replies: 5
Views: 10269

These errors seem to be all about the oflog module and something about the std name space. I don' t know if they are caused by my development environment or dcmtk itself.
by liuxinming
Fri, 2010-03-05, 02:28
Forum: DCMTK - Installation
Topic: The compilation of the lastest snapshot
Replies: 5
Views: 10269

Another problem (may be) related to this one is that when I wanted to open the configrt.h file by the open command in the right-clicked menu in the code line, the message box with the message "E:/dcmtk-3.5.5_20100226/dcmtk/oflog/configrt.h Cannot open file Bad path" was prompted. So I thin...
by liuxinming
Thu, 2010-03-04, 11:08
Forum: DCMTK - Installation
Topic: The compilation of the lastest snapshot
Replies: 5
Views: 10269

I' ve been using Visual Studio 6.0 and I enabled all the external libraries. Thanks.