News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Show the wxString value script can easily be changed to this

Started by ollydbg, October 09, 2009, 06:24:51 AM

Previous topic - Next topic

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Jenna

Do you know that ToAscii() returns a 7-bit-Ascii wxCharBuffer in unicode builds ?

That means all extended characters are replaced with underscores, that is not really helpful in many cases.

ollydbg

Quote from: jens on October 09, 2009, 07:05:45 AM
Do you know that ToAscii() returns a 7-bit-Ascii wxCharBuffer in unicode builds ?

That means all extended characters are replaced with underscores, that is not really helpful in many cases.

Oh, Thanks for your hint. 16-bit wxChar is preferred.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.