Results 1 to 4 of 4

Thread: Encoding text

  1. #1

    Encoding text

    A little new to C++ programming, so if I use Visual Basic to code a C++ program and add a Text label, will anyone be able to change the text in the executable with a hex editor, and if so, can I encode the text in something like Base64?

  2. #2
    Join Date
    Jul 2008
    Atlanta GA
    That's going to be a giant NO. The compilers and library linkers for Visual Basic and C++ are vastly different, as is the entire approach to programing. You are either programming in VB or you programming in C++. They do not mix and match.

  3. #3
    Join Date
    May 2004
    You're both right!

    As centauricw said, C++ and VB are completely different languages. You can't use VB to write and compile a C++ program.

    That said, yes, someone with a hex editor could edit text strings in applications generated by VB or compiled with C++. Encoding the text would indeed "hide" it from prying eyes, but it would still be editable in a hex editor (as would be the entire application), so for your purposes, yes, encoding the text would "protect" it.

  4. #4
    Join Date
    Jul 2008
    Atlanta GA
    Well, some text in the executable will be cleartext because it's added by the compiler (mostly error message strings) and that won't tell you a lot about the program anyway. But as sea_otter points out, you just "hiding" it. Anyone with a hex editor, or really a disassembler, and some determination can crack your code, though this an advanced skill.

Similar Threads

  1. Sendmail encoding
    By ~G9~ in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-07-2007, 06:04 PM
  2. PHP Encoding
    By FrozenWire in forum Programming Discussion
    Replies: 6
    Last Post: 01-03-2005, 07:57 AM
  3. Encoding
    By Ron in forum Web Hosting Lounge
    Replies: 0
    Last Post: 02-26-2004, 01:55 AM
  4. Encoding PHP ?
    By zahid in forum Programming Discussion
    Replies: 18
    Last Post: 02-09-2004, 07:30 PM
  5. Squirrelmail Encoding
    By Positive in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 01-20-2003, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts