Constants and code generation

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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
 
Back
Top