Problems with DXFConv

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
hilwers
Posts: 3
Joined: 26 May 2005, 18:50

Problems with DXFConv

Post by hilwers » 26 May 2005, 18:55

Hi!

I'm testing the demo-version of the CADImport VCL with Delphi 7.

When I compile the viewer-demo, all works fine but if I try to use it in my own application I get an error, that the Unit DXFCOnf was compiled with a different version of DXFImage.TsgDXFImage.

I'm using exactly the same path to the Libs in my own project as in the viewer-demo. I added the lib-directory to the search-path of my project and to the library-directory of Delphi.

Sincerely

Achim Hilwers

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

Post by support » 26 May 2005, 20:45

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by hilwers</i>
<br />Hi!

I'm testing the demo-version of the CADImport VCL with Delphi 7.

When I compile the viewer-demo, all works fine but if I try to use it in my own application I get an error, that the Unit DXFCOnf was compiled with a different version of DXFImage.TsgDXFImage.

I'm using exactly the same path to the Libs in my own project as in the viewer-demo. I added the lib-directory to the search-path of my project and to the library-directory of Delphi.

Sincerely

Achim Hilwers
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Hi!
You project gets the DXFImage.pas not from the last version of CAD import VCL which can be downloaded from: http://www.cadsofttools.com/download/CADImportVCL.zip
Maybe you have old DXFImage.pas in the project directory (where the .dpr file is). In this case Delphi firstly uses .dpr directory to find the files and secondly lib-directory.
Another possible reason - changes in the DXFimage.pas

How to solve the problem:
A.
1. Remove DXFImage.pas, DXFImage.dcu and other CAD Import VCL files from your project directory.
2.Build the application.

If still a problem check the search paths:
3.Use one of this ways to set the search paths:
in Delphi 'Environment Options' (Environment Options > Library > Library path) or in 'Project Options' (Project > Options > Directories/Conditionals > Search path);

B.
1.Delete all DXFImage.pas, DXFImage.dcu, DXConv.pas, DXFConv.dcu files from your computer.
2.Build the application - it should say that files not found.
3.Unzip http://www.cadsofttools.com/download/CADImportVCL.zip
4.Copy all files from CADImportVCL\Delphi\Lib7\.. directory to the folder where your .dpr (project) file is.
Or set the path in Delphi Environment Options > Library > Library path.
Build the application.

Kind regards,
CADSoftTools support

please post questions to the forum or write to support@cadsofttools.com

hilwers
Posts: 3
Joined: 26 May 2005, 18:50

Post by hilwers » 27 May 2005, 10:31

Hi!

I tries both steps but it didn't help.

Theres only a DXFImage.pas within the zip-file and no DXFImage.dcu. Maybe it would help if you could send me a DXFImage.dcu of the same version the DXFConv.dcu was compiled with?

Achim

Evgeny
Posts: 115
Joined: 16 Mar 2004, 11:04
Location: Russia

Post by Evgeny » 27 May 2005, 10:58

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by hilwers</i>
<br />Hi!

I tries both steps but it didn't help.

Theres only a DXFImage.pas within the zip-file and no DXFImage.dcu. Maybe it would help if you could send me a DXFImage.dcu of the same version the DXFConv.dcu was compiled with?

Achim
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

Ok, no problem

hilwers
Posts: 3
Joined: 26 May 2005, 18:50

Post by hilwers » 27 May 2005, 11:42

Thank you! With the dcus you sent me it works!

Post Reply