Re: Convert C-Builder program to Delphi?

From: Jamie (jamie_5_not_valid_after_5_Please_at_charter.net)
Date: 03/30/05


Date: Wed, 30 Mar 2005 08:46:35 -0800

W. D. wrote:

> Hi Folks,
>
> Many thanks for all the help you have provided!!
>
> Currently, I am getting several of these errors:
>
> 'Unsatisfied forward or external declaration'
>
> They occur in the Interface section, even though several
> versions of these Overloaded functions are in the
> Implementation section (and otherwise compile OK).
>
> One would think that if they exist in the Implematation
> section, and they didn't match the templates in the
> Interface section, there would be some sort of
> mismatch error. But for some reason, the compiler
> doesn't think they exist.
>
> I've gotten this type of error when the functions were
> owned by a Class. The solution is to prepend the
> name of the class onto the function:
>
> TheFunction();
>
> becomes:
>
> TheClassName.TheFunction();
>
>
> Since these functions aren't contained in a class, what
> could be preventing the compiler from finding them?
>
>
> Again, many thanks for any hints you can provide!
>
I don't understand what your saying, you state they are
in the interface and implementation section but you can only
access them via a Class name space?
    is it possible your trying to expose some members of a
class into the interface section?, if so that can not be
done.



Relevant Pages

  • Re: MFC and c++ problems
    ... compiler to generate code that is architecturally nonsensical. ... So a design in which a control has any syntactic knowledge of any container of itself ... GetParent->SendMessage is the interface of choice, ...
    (microsoft.public.vc.mfc)
  • Re: Win32 API and gfortran
    ... write out a module containing only interface blocks and compile the ... that the /iface switches and ATTRIBUTES directives change the compiler ... arguments are passed in the normal Fortran way ...
    (comp.lang.fortran)
  • Re: Using early-bound interface on a late-bound object
    ... > the compiler determines which interfaces to use, ... > supports the declared interface. ... >> help if someone can point me to some authoritative document or reference ... within customer shops when they mirrored this 'division' to keep their ...
    (microsoft.public.vb.general.discussion)
  • Re: Some OO design principles WAS Re: Differences in data description in programming languages
    ... Late binding means it is resolved at run time. ... Conformance is a quality that applies to interfaces. ... * An interface can also be a collection of method prototypes, ... the Compiler provides conformance checking. ...
    (comp.lang.cobol)
  • Re: object system...
    ... in a statically compiled app, all of the type information is known at ... compiler starts integrating itself with the outside world, ... produces the result, the type or interface. ... optimizations the ...
    (comp.object)