samedi 28 février 2015

Executing functions stored in a string

Lets say that there is a function in my Delphi app:

MsgBox and there is a string which has MsgBox in it.

I know what most of you are going to say is that its possible, but I think it is possible because I opened the compiled exe(compiled using delphi XE2) using a Resource Editor, and that resource editor was built for Delphi. In that, I could see most of the code I wrote, as I wrote it. So since the variables names, function names etc aren't changed during compile, there should a way to execute the functions from a string, but how? Any help will be appreciated.


Aucun commentaire:

Enregistrer un commentaire