Constants and code generation

G

Guest

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.
 
W

William DePalo [MVP VC++]

Paulo Eduardo said:
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?

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
 

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

Top