BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

delphi .NET assemblies and dcpil files

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Wim Coenen
Guest





PostPosted: Fri Dec 09, 2005 10:27 am    Post subject: delphi .NET assemblies and dcpil files Reply with quote



I just noticed something strange when trying to use a .NET assembly in
a delphi 2005
project. The problem only occurs when the assembly happens to be
defined as a delphi 2005 .NET package. In this case, getting the dll
and adding a reference to it in your delphi project is apparently not
enough: the compiler will complain that the dcpil file is also needed!
And indeed, providing the dcpil file fixes it.

I find this confusing. I assume it is possible for projects in other
languages like c#
to reference this delphi .NET assembly without requiring the
delphi-specific dcpil file. So why is the dcpil file needed by delphi,
and why can't it be generated from the assembly? What extra information
does it contain? Was I wrong in assuming that assemblies created in
delphi can always be referenced by assemblies written in other
languages?

thanks in advance,

Wim Coenen.

Back to top
Riki Wiki Google
Guest





PostPosted: Sun Dec 11, 2005 8:47 pm    Post subject: Re: delphi .NET assemblies and dcpil files Reply with quote



Wim Coenen wrote:

Quote:
Was I wrong in assuming that assemblies created in
delphi can always be referenced by assemblies written in other
languages?

Hoi Wim

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this news
group do not officially exist, the group to use is
borland.public.delphi.language.delphi.dotnet.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.