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

Class

P: n/a
Hy Guys.. Sometime ago I post a question asking why I can't compile my
class... I have some replies...

When I compile my class with the vbc.exe, I have to pass "/target:library"
parameter to the compiler.. Why I have to made it????

Thank's
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"André Almeida Maldonado" <de***@bol.com.br> schrieb
Hy Guys.. Sometime ago I post a question asking why I can't compile
my class... I have some replies...

When I compile my class with the vbc.exe, I have to pass
"/target:library" parameter to the compiler.. Why I have to made
it????


In order to tell the compiler that it has to create a library instead of an
executable. Whenever you create an executable, there has to be a sub main
because every executable must have an entry point. That's not necessary for
a library.
--
Armin

http://learn.to/quote
http://www.plig.net/nnq/nquote.html

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.