Class

  • Thread starter Thread starter André Almeida Maldonado
  • Start date Start date
A

André Almeida Maldonado

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
 
André Almeida Maldonado said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top