Page 1 of 1

MVFont

Posted: 07 Sep 2010, 11:56
by cadusermast_
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'

Re: MVFont

Posted: 07 Sep 2010, 12:33
by support
Hello.
Please specify the programming environmental and library version you use.

Alexander.

Re: MVFont

Posted: 07 Sep 2010, 12:34
by cadusermast_
delphi 2007 and the lib2007win32

Re: MVFont

Posted: 07 Sep 2010, 12:59
by support
by library version I meant CAD Import VCL version.

Re: MVFont

Posted: 07 Sep 2010, 13:06
by cadusermast_
sorry, CADImportVCL V 7.2.5

Re: MVFont

Posted: 07 Sep 2010, 17:12
by support
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.

Re: MVFont

Posted: 07 Sep 2010, 18:30
by cadusermast_
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!

Re: MVFont

Posted: 08 Sep 2010, 10:29
by support
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.

Re: MVFont

Posted: 09 Sep 2010, 15:08
by cadusermast_
thanks