bug in wlfsim.cc:456

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
mgoetzke
Posts: 1
Joined: Mon, 2012-06-25, 10:54

bug in wlfsim.cc:456

#1 Post by mgoetzke »

The line

Code: Select all

  long hFile = _findfirst( (char*)searchname.c_str(), &fileData );
in wlfsim.cc:456 should be

Code: Select all

 intptr_t hFile = _findfirst( (char*)searchname.c_str(), &fileData );
Otherwise the compiled worklist server will crash on windows 64 bit systems the moment it enumerates the worklist data directory.

J. Riesmeier
DCMTK Developer
Posts: 2498
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: bug in wlfsim.cc:456

#2 Post by J. Riesmeier »

Thank you for the report. This issue has been fixed with the following commit: http://git.dcmtk.org/?p=dcmtk.git;a=com ... 71e80084e6

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest