I've had this problem a bit when experimenting with flags on the Interface
and Automation Objects. Since its all just experimentation 'coz I don't
really understand some of the finer nuances of dual versus vtable etc and
how the type library editor deals with them, I'm not sure of the how and
why. What I have found is that some implementation methods are marked as
stdcall and some as safecall depending on which combinations of check-boxes
I've been fiddling with. I have fixed a number of the cock-ups I've created
by carefully examining the TEXT pane of the typlib editor and tuning the
implementation object's declaration to match.
That's the problem with wizards, they'll do all sorts of complicated stuff
for you but won't tell you why. And when you manually adjust what the
wizards have done, they get all petulant and don't want to play anymore.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Friday, February 04, 2000 3:11 PM
Subject: [DUG]: Declaration differs from Interface
>
>
> Hi,
>
> A guy in our team has a unit with a bunch of interfaces and another unit
with
> classes implementing those interfaces. There is one particular class
however
> that keeps reporting that the declaration of a procedure differs from the
> declaration in the interface. I have checked that there are no other units
being
> listed in the uses clause that might cause conflicts, and also checked
that the
> interface and procedure names themselves are not likely to get confused
with VCL
> or system calls.
>
> We have tried restarting, re-building, re-everything but the problem
persists.
>
> Has anyone come accross this problem and got to the bottom of it?
>
> Thanks,
>
> Phil.
>
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz