Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AAARGH - [DCC Error] E2328 Linker error while emitting metadata

32 views
Skip to first unread message

Andy Teal

unread,
Feb 15, 2008, 7:32:10 AM2/15/08
to
I got this message after adding a couple of lines to my Delphi .net
application (rad studio 2007 december updates)

I removed the lines - no change
Shut down and restarted the PC - it STILL appears after compiling - what has
caused this error and more importantly, how do I fix it ?

Best regards,
Andy

Stephane....@gmail.com

unread,
Feb 15, 2008, 8:09:57 AM2/15/08
to
On 15 fév, 13:32, "Andy Teal" <at...@denford.co.uk> wrote:
> I got this message after adding a couple of lines to my Delphi .net
> application (rad studio 2007 december updates)

Did you tried to remove all dcuil files before compiling ?

Andy Teal

unread,
Feb 15, 2008, 10:11:32 AM2/15/08
to
Found it !

I had just recently added some debugging output which added this to a
TMemo....
memo1.lines.add(format('Status %-d',[123]));
This works fine in Delphi Win32, but will not link in .NET
Removing this line will allow .NET to link again - I presume this should be
something that the compiler should be picking up on ?

Andy


"Andy Teal" <at...@denford.co.uk> wrote in message
news:47b5866c$1...@newsgroups.borland.com...

Andy Teal

unread,
Feb 15, 2008, 10:21:17 AM2/15/08
to
ok - found the issue -
It turns out I was trying to read this integer from a c# assembly:
public static volatile int abcint;

If I don't try to access this variable, then the problem goes away

Regards,


"Andy Teal" <at...@denford.co.uk> wrote in message
news:47b5866c$1...@newsgroups.borland.com...

ANDREW TEAL

unread,
Feb 16, 2008, 7:02:09 PM2/16/08
to
Sorry - the above format statement does compile - it was the variable I was
trying to show that caused the problem

"Andy Teal" <at...@denford.co.uk> wrote in message

news:47b5...@newsgroups.borland.com...

0 new messages