I have a program which has a unique user id that only belongs to that user. that id is hard coded and used in a web interface where the user can be shown his computer and not someone else's, so whenever i need to give my program to another user i need to recompile the executable with the new hardcoded executable. so i want to make a simple form that has a textbox for the client id and a compile button, so it compiles an executable with the client id in the textbox hard coded in that executable. How would i go about doing this? I researched this and found this but i don't think it can be used in my situation.
My program is used to control your pc with a web interface so lets say i got 1 user on my website that has 2 computers. He would need an executable made for him with his user id that is in the database of my website. But what if i got another user and many more, i need to make thousands of versions of my program.
Also as a side question can this be done on a website let's say i have users on my website and every user has his unique id and i want that id to be hardcoded in my program when they go to download it. please don't focus on this too much as its just a side question.