MVFont

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

Moderators: SDS, support, admin

Post Reply
cadusermast_
Posts: 9
Joined: 25 Mar 2010, 10:07

MVFont

Post by cadusermast_ » 07 Sep 2010, 11:56

Hi!

When i am compiling your source in my projekt, there will be an DCC ERROR: [DCC Fehler] MVFont.pas(140): E2010 Inkompatible Typen: 'TPoint' und 'Char'

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

Re: MVFont

Post by support » 07 Sep 2010, 12:33

Hello.
Please specify the programming environmental and library version you use.

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

cadusermast_
Posts: 9
Joined: 25 Mar 2010, 10:07

Re: MVFont

Post by cadusermast_ » 07 Sep 2010, 12:34

delphi 2007 and the lib2007win32

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

Re: MVFont

Post by support » 07 Sep 2010, 12:59

by library version I meant CAD Import VCL version.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

cadusermast_
Posts: 9
Joined: 25 Mar 2010, 10:07

Re: MVFont

Post by cadusermast_ » 07 Sep 2010, 13:06

sorry, CADImportVCL V 7.2.5

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

Re: MVFont

Post by support » 07 Sep 2010, 17:12

This error doesn't appear on demo applications compilation. Please check Project options -> Compiler -> Typed @ operator flag status in your project. Such error is possible when this flag set.

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

cadusermast_
Posts: 9
Joined: 25 Mar 2010, 10:07

Re: MVFont

Post by cadusermast_ » 07 Sep 2010, 18:30

i don't use the demo(of course no problems with the demo in this project ), i have purchased a developer license and get the source code, the "typed @-operator" is necessary in this project!

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

Re: MVFont

Post by support » 08 Sep 2010, 10:29

Hello.
Typed @ operator (from Borland Help)
Controls the types of pointer values generated by the @ operator and the compatibility of pointer types. When disabled (equivalent to {$T-}), the result of the @ operator is always an untyped pointer (Pointer) that is compatible with all other pointer types. When @ is applied to a variable reference in the enabled (equivalent to {$T+}), the result is a typed pointer that is compatible only with Pointer and with other pointers to the type of the variable.
So the parameters of called method that throw error must have correspond types. Please try implement typecast into your code.

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

cadusermast_
Posts: 9
Joined: 25 Mar 2010, 10:07

Re: MVFont

Post by cadusermast_ » 09 Sep 2010, 15:08

thanks

Post Reply