Is there any clues as to the cause of this error message and how to
eliminate it?
Robert
A reproducible example would help. You could post it to
borland.public.attachments.
Someone called Charles had the same problem:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3dac40bf%40
newsgroups.borland.com
Are you also using Win98 and CLX?
--
Dave Nottage (TeamB)
The issue is the module I refer to is over 19,000 lines long and forms the
corner stone of a large project. Quarantining sections of the module is not
easy.
Any help would be greatly appreciated.
Robert Cook
"Dave Nottage (TeamB)" <dav...@nospamola.smartchat.net.au> wrote in message
news:3dda...@newsgroups.borland.com...
It seems to be related to calls to 'setlength', reasonably sure of this.
Are you able to provide an example? I'd be very interested.
--
Dave Nottage (TeamB)
Appreciate the offer, unfortunately the code runs to about 60 units, plus
various custom components. You're welcome to look at the whole lot, or I
could try and strip it down again when I have the time, a little pressed at
the moment.
procedure NullParam(Parameters: TParameters; const ParamName: String);
The implementation is:
procedure NullParam(Parameters: TParameters; const ParamName: String);
overload;
begin
Parameters.ParamByName(ParamName).Value := Null;
end;
procedure NullParam(Parameters: Parameters; const ParamName: String);
overload;
begin
Parameters.Item[ParamName].Value := Null;
end;
This gives the Internal error: L681 error. The error is resolved by placing
the overload directive on the definition i.e.
procedure NullParam(Parameters: Parameters; const ParamName: String);
overload;
I tried to create a small test program to demonstrate the problem but it did
not exhibit the issue. Seems the problem is a little more complex than this
but hopefully might give the Delphi crew a clue.
Robert
"Charles" <ro...@ssppaammroditi.com> wrote in message
news:3ddc...@newsgroups.borland.com...
Robert, This is not finding the root problem, but I would do
Parameters.ParamByName(ParamName).Clear;
instead of
Parameters.ParamByName(ParamName).Value := Null;
Regards, JohnH
I know this is a three month old thread, but I found your message on
Google, and I was able to correct this same error that had been
plaguing a client's application by finding a mismatched overload
directive. So thanks for coming back and posting your solution.
Nick Hodges - TeamB
Lemanix Corporation
Please always follow the newsgroup guidelines --
http://www.borland.com/newsgroups