|
| [Pascal fatal error] using wsdl-imported unit |
 |
Thu, 17 Jan 2008 01:32:39 GMT |
Hallo,
like i wrote in my first thread i try to work with D2007 now, but i
can't use the created unit.
I start a new Project with one empty Form an everything works fine.
Now i add a second fille to this project, it's my wsdl-import.
When i now try to start the project (pressing F9) i get this error:
"[DCC Fehler] Project1.dpr(6): F2084 Interner Fehler:URW4698"
After building the project (with Shift + F9) i can start it.
When i do a simple change to the code just like:
procedure TForm1.FormCreate(Sender: TObject);
begin
form1.Caption := 'test';
end;
I have the same Problem.
Now i add my import to my mainform with
uses crmservice;
now i try to change my code just like:
procedure TForm1.FormCreate(Sender: TObject);
begin
form1.Caption := 'test';
form1.
end;
and wait for the code completion and get the following error:
"[Pascal Fataler Fehler] Unit1.pas(23): F2084 Interner
Fehler:URW4698"
Manually completing the code and building it works.
Does anybody know this behaviour or these errors?
Thank you for your help,
Dirk
Heres is my mainunit, its very simple. I didn't post my imported file
or the wsdl-file because they are very big, do you need them?
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
Forms,
Dialogs;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
uses crmservice;
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
form1.Caption := 'test';
form1. //<- here i get the error
end;
end.
|
| Post Reply
|
| Re: [Pascal fatal error] using wsdl-imported unit |
 |
Thu, 17 Jan 2008 09:39:47 -080 |
Hello Dirk,
I'm afraid it's something in the code generated by the WSDL importer that
triggered the URWxxxxx errors. The WSDL importer has exposed a few
limitations of DCC32. The last two that I can recall from memory had to do
with
a) strong alias of enumeration
b) exceeding 64 of constant strings in the initialization section.
I'll need to go back to my email exchanges with the compiler team to see if
URW4698 came up before. I'll post a follow-up after I get a chance to do
that later today!
Cheers,
Bruneau.
PS: It would be helpful if you could email me the code/unit generated by the
WSDL importer. Also does Project|'Build' get rid of the URWxxxx error. I
remember a case where 'Project|Build' would work but 'Project|Make' (or
Run|Run) would fail with a URWxxxx error.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|