How to change an ID number in an exe file without recompiling it
Posted on 2005-04-26
it was not easy to find an appropriate title for my question. I'll try to explain my problem as clear as possible.
I have to write a small application, which does set a special bit in the memory of a hardware device. I already have the application which sets the bit, BUT this bit may not be set in every device. Only devices with a special hardware ID may have set this bit.
The problem is, that the hardware IDs which may have set this bit are not known at compliling time. The valid hardware ID has to be set in the application later.
This bit is for some kind of security reason. Therefore it is important that the hardware ID can not be chosen by anyone, so that the bit can not be set in any device (no *.ini file).
This change in the application must be possible on every computer, even if there is no compiler installed.
Is there some possibility of having a small standalone compiler or something like this? Any other ideas?
I hope I made myself clear enough... Otherwise just ask.
Thank you very much