|
-
Apr 12th, 2004, 11:08 AM
#1
Thread Starter
Frenzied Member
View compiled comments
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
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Apr 12th, 2004, 11:16 AM
#2
Frenzied Member
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?
-
Apr 12th, 2004, 01:10 PM
#3
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
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Apr 12th, 2004, 04:09 PM
#4
PowerPoster
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.
-
Apr 12th, 2004, 04:44 PM
#5
Frenzied Member
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.
That's pretty interesting. I wonder why they configured it so you can read the controls? strange
-
Apr 13th, 2004, 02:59 PM
#6
Thread Starter
Frenzied Member
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
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|