Click here to Skip to main content
15,891,938 members
Home / Discussions / C#
   

C#

 
GeneralRe: Edit and continue feature Pin
George_George27-Apr-08 1:42
George_George27-Apr-08 1:42 
GeneralRe: Edit and continue feature Pin
Anthony Mushrow27-Apr-08 2:10
professionalAnthony Mushrow27-Apr-08 2:10 
GeneralRe: Edit and continue feature Pin
George_George27-Apr-08 2:21
George_George27-Apr-08 2:21 
GeneralA new idea Pin
Anthony Mushrow27-Apr-08 2:15
professionalAnthony Mushrow27-Apr-08 2:15 
GeneralRe: A new idea Pin
George_George27-Apr-08 2:25
George_George27-Apr-08 2:25 
GeneralRe: Edit and continue feature [modified] Pin
Roger Alsing27-Apr-08 2:38
Roger Alsing27-Apr-08 2:38 
GeneralRe: Edit and continue feature Pin
George_George27-Apr-08 2:49
George_George27-Apr-08 2:49 
GeneralRe: Edit and continue feature Pin
Roger Alsing27-Apr-08 3:07
Roger Alsing27-Apr-08 3:07 
I think it might be impossible to do it w/o inserting the nop.

Lets say that we have an empty method that we want to modify.

public void Foo()
{
//empty
}

and lets pretend that it looks like this in memory:

1000000 ret //start and end of foo , we can only alter this single byte w/o overwriting the next methiod
1000001 start of next method

There would simply not be any space for us to insert the call to the modified method there, we can only alter 1 byte and if we alter more we start to overwrite some other method.

(But again, I do not know if my guess is how it works, but Id say it would be the easiest approach.)


GeneralRe: Edit and continue feature Pin
George_George27-Apr-08 3:30
George_George27-Apr-08 3:30 
GeneralRe: Edit and continue feature Pin
Daniel Grunwald27-Apr-08 11:59
Daniel Grunwald27-Apr-08 11:59 
GeneralRe: Edit and continue feature Pin
George_George27-Apr-08 17:40
George_George27-Apr-08 17:40 
GeneralRe: Edit and continue feature Pin
Roger Alsing27-Apr-08 20:56
Roger Alsing27-Apr-08 20:56 
GeneralRe: Edit and continue feature Pin
George_George27-Apr-08 21:14
George_George27-Apr-08 21:14 
Questionhow can I read data from Video Capture Card? Pin
en.Mahdi26-Apr-08 22:05
en.Mahdi26-Apr-08 22:05 
AnswerRe: how can I read data from Video Capture Card? Pin
Jimmanuel27-Apr-08 2:46
Jimmanuel27-Apr-08 2:46 
GeneralRe: how can I read data from Video Capture Card? Pin
Bert delaVega29-Apr-08 6:05
Bert delaVega29-Apr-08 6:05 
GeneralProject Copy Problems.. Pin
som.nitk26-Apr-08 21:21
som.nitk26-Apr-08 21:21 
GeneralRe: Project Copy Problems.. Pin
Reza Shojaee26-Apr-08 21:40
Reza Shojaee26-Apr-08 21:40 
QuestionRe: Project Copy Problems.. Pin
som.nitk27-Apr-08 0:28
som.nitk27-Apr-08 0:28 
GeneralRe: Project Copy Problems.. Pin
Anthony Mushrow27-Apr-08 0:34
professionalAnthony Mushrow27-Apr-08 0:34 
GeneralDLL IMPORT - PINVOKE... Pin
temp555626-Apr-08 20:58
temp555626-Apr-08 20:58 
GeneralRe: DLL IMPORT - PINVOKE... Pin
Anthony Mushrow27-Apr-08 0:30
professionalAnthony Mushrow27-Apr-08 0:30 
GeneralRe: DLL IMPORT - PINVOKE... Pin
Luc Pattyn27-Apr-08 0:41
sitebuilderLuc Pattyn27-Apr-08 0:41 
GeneralEnable Console Application in Windows Application Pin
Ian Uy26-Apr-08 20:44
Ian Uy26-Apr-08 20:44 
GeneralRe: Enable Console Application in Windows Application Pin
temp555626-Apr-08 20:52
temp555626-Apr-08 20:52 

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.