Is there any way for someone with a little too much interest in my program to view the comments that I made while writing the code after it has been compiled or does the VB compiler completely ignore the comments?
Thanks,
Squirrelly1
Printable View
Is there any way for someone with a little too much interest in my program to view the comments that I made while writing the code after it has been compiled or does the VB compiler completely ignore the comments?
Thanks,
Squirrelly1
I believe the compiler strips out comments and debug info when you build in release configuration. But once it's compiled, it's in machine code anyway; how would they read it w/o a decompiler?
The older versions of Visual Basic kept the comments in the source code. The old programs compiled with VB needed specific VB runtime files, thus leaving the comments in wouldn't matter, but VB.NET uses the Common Language Runtime. I would assume all comments are stripped from the .NET languages, so they have smaller file sizes.
Question for others: Are there comments in IDL files?
Phreak
As it happens I looked at the IL of one of my apps with a Hex Editor the other day. You can read all the control names, but not variable names or comments.
That's pretty interesting. I wonder why they configured it so you can read the controls? strangeQuote:
Originally posted by SuperSparks
As it happens I looked at the IL of one of my apps with a Hex Editor the other day. You can read all the control names, but not variable names or comments.
Yeah, that does seem strange, you never know with M$ anywayz...
Thanks for your input guys... I feel a little more secure about this stuff now.
Squirrelly1