DXFExport source code is missing

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

Moderators: SDS, support, admin

Post Reply
aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

DXFExport source code is missing

Post by aby » 22 Mar 2008, 12:45

Hi,


When I'm trying to compile your source code for example CADtoDXF file I'm getting the following error.

File Not found MVFont.pas


Could you send the missing files in order to compile this file.

Thanks[|)]

Sabetay

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

Post by support » 23 Mar 2008, 03:54

Hello Sabetay,

What versions of <b>CAD Import VCL</b> and <b>DXF Export VCL</b> do you use?

Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 24 Mar 2008, 14:38

Hi Sergey,

I'm using the following libraries.

CAD Import VCL : CADImportVCL_nosource_V6.1
DXF Export VCL : DXFExportVCL_source_V6.1

Thanks

Sabetay

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

Post by support » 24 Mar 2008, 16:01

Hi Sabetay,

MVFont.pas is a part of CAD Import VCL Source Code. It can't be sent. Please contact to our executive manager Evgeny Chuzhakin to info@cadsofttools.com accordingly of getting updates.

Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 24 Mar 2008, 16:19

Sergey,

"MVFont.pas is a part of CAD Import VCL Source Code"
But it is also part of the Export VCL Source Code.[V]

I 'll be very glad if you explain how would I compile the Export library you've sold with source code? What is the way? You must find a solution.

I've alredy mailed him, and waiting for his answers.

Thanks

Sabetay

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

Post by support » 24 Mar 2008, 17:01

Hi,

DXF Export VCL consists of two parts:
<ul><li>export of (and through) Windows Metafiles;</li>
<li>direct export.</li></ul>
Export through Windows Metafiles is an old base part of the library. It consists of two modules: DXFExport and sgConsts. It does not require MVFont.pas.
Direct export is an enhancement over standard library. It requires CAD Import VCL. To make your libraries to be compiled we recommend to do the following:
<ol type="1">
<li>use the whole respective <b>Lib...</b> folder from CAD Import VCL package;</li>
<li>use only three modules from the <b>Lib</b> folder of DXF Export VCL package: CADExport, CADtoDXF and DXFExport.</li></ol id="1">
Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 24 Mar 2008, 17:41

Sergey,

"use the whole respective Lib... folder from CAD Import VCL package;"
I've created a softcad.lib project and inserted whatever .obj file you have sent to me.

I get confused with your posting. As far as I know, Lib files are used in Linking phase not in compiling phase. Maybe we are talking different things. The issue is with compiling not with linking.

This is what I'm doing.

1)I've added CADtoDXF.pas to my project
2) Try to compile.
3) The result is, the compiler requires MVFonts.pas in order to compile the CADtoDXF.pas.

Try to compile a project including CADtoDXF.pas with BCB6. You'll get the same result if you dont suply MVFonts.pas.

Is there any alternate way to compile CADtoDXF.pas with BCB6 without requiring MVFonts.pas?

Sabetay

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

Post by support » 24 Mar 2008, 17:52

Hello Sabetay,

We have sent you the whole package of CAD Import VCL and DXF Export VCL Source Code. Please try it.

Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 25 Mar 2008, 11:03

Sergey,

Thanks,

I've tried to compile the library that you've send with no success.

I've opened a lib project and include all the pas files and try to compile with BCB6 or BDS2007.

Some bugs can be handled by commenting, but some errors I can't be handled. Since DXFConv.pas couldn't be compiled, the library couldn't be build.

In the following you'll see the bugs list that I've encountered, what actions has been taken.

My precedency is like the following.

1) Working copy of DXFExport library. Just send me .OBJ files that would compile with my project.

2) If I could compile the library I'll appreciate very much.

Thanks

Sabetay




sgFunction.pas

function GetNumerals(AValue: Cardinal): string; inline;

[Pascal Error] sgFunction.pas(559): Declaration expected but 'INLINE' found
[Pascal Fatal Error] pasall.tmp(3): Could not compile used unit 'C:\Program Files\Borland\CBuilder6\denemelerim\CADImportVCL_7_0_1+\Lib\sgFunction.pas'


Action taken = inline deleted;

DXFConv.pas
Line 21815

Result := AddObject(AName + NameValueSeparator + AValue, Pointer(AType));


[Pascal Hint] MVFont.pas(110): Private symbol 'FOnChange' declared but never used
[Pascal Error] DXFConv.pas(21815): Undeclared identifier: 'NameValueSeparator'
[Pascal Error] DXFConv.pas(21824): Undeclared identifier: 'NameValueSeparator'
[Pascal Fatal Error] SGLines.pas(101): Could not compile used unit 'DXFConv'

Action Taken = Result = 0;

[Pascal Error] DXFConv.pas(21825): Undeclared identifier: 'NameValueSeparator'


Action taken = // NameValueSeparator commented



[Pascal Error] DXFConv.pas(22302): Unsupported language feature "propery of array type"

Action taken = Stopped.

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

Re: DXFExport source code is missing

Post by support » 31 Mar 2008, 13:16

Hello Sabetay,

We have sent you corrected package.

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

Post Reply