Problems with DXFConv
Moderators: SDS, support, admin
Problems with DXFConv
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
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
<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
<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
<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
<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