Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2005

Tip: Looking for answers? Try searching our database.

Constants and code generation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paulo Eduardo - 12 Jul 2005 20:50 GMT
Hi, all!

We are developing a app that will send error messages for smtp protocol?
Actually, we are using a default e-mail configuration. This default is
inserted in constants (.h) that app include. We generate code in MS Visual
C++ 6.0. Then, when we edited the app .exe with notepad, we saw this defines
appearing how ascii code. How can we avoid this? Is there one comiler option
that doesn't produce ascii code for constants?

Thanks a lot in advance.
William DePalo [MVP VC++] - 12 Jul 2005 22:34 GMT
> We are developing a app that will send error messages for smtp protocol?
> Actually, we are using a default e-mail configuration. This default is
[quoted text clipped - 4 lines]
> option
> that doesn't produce ascii code for constants?

These "constants" are character strings? If so, you will have to obfuscate
or encrypt them.

If these "constants" relate to server names and what not, anyone snooping on
network traffic will be able to see what you application is doing.

Regards,
Will

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.