[Ctk-developers] problem with ctkDICOMViewer on Windows XP

Stephen Aylward stephen.aylward at kitware.com
Tue Feb 15 12:52:06 UTC 2011


I have definitely seen path and filename length issues with windows programs
before.  Thanks for reporting this.

S

-- Sent from an Android phone.  Please forgive the typos.
On Feb 15, 2011 6:08 AM, "zhang xiaodong" <zxdflyer at 163.com> wrote:
> Hello, everyone
> I downloaded the latest version of ctk and compiled it with VS2008 on
windows XP successfully. Then I tested the examples, such as
ctkDICOMIndexer, ctkDICOMViewer. ctkDICOMIndexer works well, but there is
something wrong with ctkDICOMViewer.
> When I import dicom directory of files, it could not create the related
dicom files and thumbnails in the database path. Have checked the code, I
did not find anything wrong. However, I found the dicom file or thumbnail
path is so long that I wondered if the length of the path has exceed
max_length of windowsXP.
> for example, this is one of the paths created after I import a dicom
directory:
>
D:\CTK\bin\CTK-build\bin\Debug\thumbs\1.2.840.113619.2.244.6945.2466594.25089.1255409654.794\1.2.840.113619.2.244.6945.2466594.25089.1255409654.792\dicom\1.2.840.113619.2.135.3596.6134758.4831.1168041039.905\
1.2.840.113619.2.135.3596.6134758.4614.1168041101.474
>
> And when I try to open the directory
1.2.840.113619.2.135.3596.6134758.4614.1168041101.474, there is no response.
Then I used cmd to open it, it said: can not find the diectory. So I think
the problem should be the path length which exceeds windowsXP's limit.
>
> Did anyone meet problems like this ? It would be great appreciated if
anyone could help me with it. Thanks very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110215/f8b332a9/attachment.htm>


More information about the Ctk-developers mailing list