Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Interfaces    [ Add a report in this area ]  
Report #:  70554   Status: Closed
Type TGUID has no type info
Project:  Delphi Build #:  12.0.3210.17555
Version:    12.0 Submitted By:   sterling butts
Report Type:  Basic functionality failure Date Reported:  1/15/2009 2:28:43 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   267683
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : 15.0.3820.31735
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
I get this error when I try to compile the lastest quickreport components. This is a simple set of code to reproduce the same error. It seems simular to error 43487 by Bart Van Dongen. He seems to conclude there was problem on his end with using a debug directive. I am not setting a conditional or using that directive that I can see here.

If I add {$METHODINFO OFF} the code compiles. But the documentation says this should be the default.

I am running with Delphi 2009 Update 2
Steps to Reproduce:
1. Make a new project in Delphi 2009 professional.


2. To the MainForm add the following code

  ITest = interface(IUnknown)
    procedure Test(const GUID: TGUID);
  end;

So the main form looks something like this......
------------------------------------------------------------------------------
unit uMainForm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TMainForm = class(TForm)
  private
    { Private declarations }
  public
    { Public declarations }
  end;

  ITest = interface(IUnknown)
    procedure Test(const GUID: TGUID);
  end;

var
  MainForm: TMainForm;

implementation

{$R *.dfm}

end.
------------------------------------------------------------------------------
3. Compile and the error
E2134 Type 'TGUID' has no type info
comes up.

Workarounds
Add {$METHODINFO OFF} to the code and it compiles.
Attachment
None
Comments

sterling butts at 1/16/2009 8:27:10 AM -
When I try to attach the files I get
cdsAttachmentHeader: Missing data provider or data packet

Server Response from: ETNACODE01