Click here to Skip to main content
14,585,369 members
   

C#

 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 21:18
Memberarnold_w2-May-20 21:18 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 21:27
professionalEddy Vluggen2-May-20 21:27 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 21:41
Memberarnold_w2-May-20 21:41 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 21:45
professionalEddy Vluggen2-May-20 21:45 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Dave Kreskowiak3-May-20 4:27
mveDave Kreskowiak3-May-20 4:27 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen3-May-20 10:00
professionalEddy Vluggen3-May-20 10:00 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Dave Kreskowiak3-May-20 15:01
mveDave Kreskowiak3-May-20 15:01 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w3-May-20 22:23
Memberarnold_w3-May-20 22:23 
If you read above, you'll see that I was asking if there was something similar to a C-programming linker script in C# and I asked if it was possible to place the array in the end of the .exe-file. Why would I be interested in those approaches if I didn't have the source code and am able to recompile it?

I was thinking someone would suggest something along the lines of putting the array in a separate dll and then do something clever with assemblies (which I have no experiences with). If this is possible, this would be perfectly fine with me. Again, how could I use this if I was trying to hack someone else's .exe-file and not implement in my own project?

If you think about it, this would be very useful to avoid having a (separate) file that remembers the user's preferences (e.g. list of recently used documents, use spaces instead of spaces, etc). When you exit the application, you would just update the array that contains the user preferences (of course, since the executing file it locked, you first rename the executing file, then create a new file with the original file name and then self-destruct the original file).

modified 4-May-20 4:30am.

GeneralRe: How can I augment an array inside an .exe-file? Pin
Member 79891223-May-20 23:35
MemberMember 79891223-May-20 23:35 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Dave Kreskowiak4-May-20 3:26
mveDave Kreskowiak4-May-20 3:26 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Member 79891222-May-20 11:49
MemberMember 79891222-May-20 11:49 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 21:21
Memberarnold_w2-May-20 21:21 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Robert Bushlow7-May-20 18:59
MemberRobert Bushlow7-May-20 18:59 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w7-May-20 19:37
Memberarnold_w7-May-20 19:37 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Robert Bushlow8-May-20 2:32
MemberRobert Bushlow8-May-20 2:32 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w8-May-20 3:42
Memberarnold_w8-May-20 3:42 
AnswerRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen8-May-20 3:53
professionalEddy Vluggen8-May-20 3:53 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Robert Bushlow8-May-20 4:02
MemberRobert Bushlow8-May-20 4:02 
AnswerRe: How can I augment an array inside an .exe-file? Pin
Richard MacCutchan2-May-20 22:17
mveRichard MacCutchan2-May-20 22:17 
AnswerRe: How can I augment an array inside an .exe-file? Pin
Pete O'Hanlon3-May-20 10:09
subeditorPete O'Hanlon3-May-20 10:09 
AnswerRe: How can I augment an array inside an .exe-file? Pin
Gerry Schmitz3-May-20 18:54
mveGerry Schmitz3-May-20 18:54 
QuestionAsync await error Pin
Carlos581-May-20 11:01
MemberCarlos581-May-20 11:01 
AnswerRe: Async await error Pin
Mycroft Holmes1-May-20 12:00
professionalMycroft Holmes1-May-20 12:00 
GeneralRe: Async await error Pin
Carlos581-May-20 12:08
MemberCarlos581-May-20 12:08 
GeneralRe: Async await error Pin
Mycroft Holmes1-May-20 12:18
professionalMycroft Holmes1-May-20 12:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.