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.
 
Back
Top