By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,448 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,448 IT Pros & Developers. It's quick & easy.

COM interop dll question C# vs VB.NET?

P: n/a
hi all

in a COM interop dll, is there any difference between a dll generated by C#
project and VB.NET project?
Kevin
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Kevin,

No, there is not. They will use the same attributes, and be subject to
the same rules for interop. The only difference is the implementation
inside, and in that case, neither language is going to give you a distinct
advantage over the other.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Kevin Yu" <ko**@hotmail.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
hi all

in a COM interop dll, is there any difference between a dll generated by
C#
project and VB.NET project?
Kevin

Nov 16 '05 #2

P: n/a
Nicholas

I have rewrote the component in vb.net and everything works fine, so we will
go with that, but not sure why it didn't work with c# thought.
Kevin

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Kevin,

No, there is not. They will use the same attributes, and be subject to the same rules for interop. The only difference is the implementation
inside, and in that case, neither language is going to give you a distinct
advantage over the other.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Kevin Yu" <ko**@hotmail.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
hi all

in a COM interop dll, is there any difference between a dll generated by
C#
project and VB.NET project?
Kevin


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.