Path length passed to CADImage.DLL

Discuss and ask questions about CAD plugins for 3rd party software: IrfanView, XnView, Total Commander, Konvertor FM.

Moderators: SDS, support, admin

Post Reply
umm
Posts: 3
Joined: 15 May 2009, 21:36

Path length passed to CADImage.DLL

Post by umm » 15 May 2009, 21:57

We had been using CADImage.DLL (version 6) with XnView's nconvert command line interface for viewing DWG, DXF files and we recently upgraded to version 7 of CADImage.DLL. However, we've noticed that when the full path (sent via a command line to nconvert) of a file to be viewed exceeds around 60 characters the conversion fails.

NConvert is able to convert other formats without using the CADImage.DLL plugin with much longer paths and the code used to work fine for version 6 so this must be a bug in Version 7.

Is anyone else experience anything similar?
Is this something CADSoft plan to fix?

Thanks.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Path length passed to CADImage.DLL

Post by support » 20 May 2009, 18:00

Hello!

Thank you for the request. We will consider the problem and inform you when solution will be ready.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Path length passed to CADImage.DLL

Post by support » 15 Jun 2009, 16:38

Hello umm!
We can' encounter problem you describe.
Please, can you specify nconvert version, OS?

Alexander
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

umm
Posts: 3
Joined: 15 May 2009, 21:36

Re: Path length passed to CADImage.DLL

Post by umm » 05 Sep 2009, 15:37

Hi Sorry for the late response

This problem still persists. We are using the following:
NConvert version 5.30
CadImage.dll version 7.0.0.3
OS: Windows Server 2003 SP2 + all latest updates

We experience the same issue on x86 and x64 platforms.

Any help would be really appreciated.

Thanks
Uther

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Path length passed to CADImage.DLL

Post by support » 08 Sep 2009, 09:28

Hello!

Thank you for the information.
Please send us an example of the command line you use to forum or to support@cadsofttools.com.

Best regards
Anton
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

umm
Posts: 3
Joined: 15 May 2009, 21:36

Re: Path length passed to CADImage.DLL

Post by umm » 08 Sep 2009, 10:52

Hi

We are experiencing problems with version 7.0.0.3 of CADImage.DLL when used with XnView's nconvert command line interface for viewing DWG and DXF files.

The command line we are using is:

nconvert -v -32bits -transpcolor 255 255 255 -merge_alpha -q 100 -rtype mitchell -ratio -resize 512 512 -out jpeg -o "test.jpg" "D:\xxxxxxxxx\xxxxxxxxx\xxxxxxxxx\xxxxxxxxx\example.dxf"

If the full path to the file to be converted ("D:\xxxxxxxxx\xxxxxxxxx\xxxxxxxxx\xxxxxxxxx\example.dxf" in the above command line) exceeds around 60 characters the conversion fails. If the path length is lower the conversion works fine.

NConvert is able to convert other formats without using the CADImage.DLL plugin with paths much longer than 60 characters.

Also, this problem is not experienced with version 6 of CADImage.DLL - only version 7 seems to be affected.

We are using the following:
NConvert version 5.30 (also tried version 5.31)
CadImage.dll version 7.0.0.3
OS: Windows Server 2003 SP2 + all latest updates

Best regards
umm

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Path length passed to CADImage.DLL

Post by support » 05 Oct 2009, 12:43

Hello.
We couldn't duplicate problem that you described. Please post screenshot with error message with your next message.

Alexander.
Attachments
111111111111111.jpg
111111111111111.jpg (242.6 KiB) Viewed 34161 times
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply