Click here to Skip to main content
15,914,795 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to transfer Quantity in shopping cart Pin
Gareth H25-Jan-08 0:05
Gareth H25-Jan-08 0:05 
QuestionNeed help about [Address of pointer] and [Offset] Pin
spearwall24-Jan-08 22:58
spearwall24-Jan-08 22:58 
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
Anthony Mushrow24-Jan-08 23:26
professionalAnthony Mushrow24-Jan-08 23:26 
AnswerRe: Need help about [Address of pointer] and [Offset] Pin
spearwall25-Jan-08 4:43
spearwall25-Jan-08 4:43 
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
Anthony Mushrow25-Jan-08 6:33
professionalAnthony Mushrow25-Jan-08 6:33 
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
spearwall25-Jan-08 8:05
spearwall25-Jan-08 8:05 
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
Anthony Mushrow25-Jan-08 8:47
professionalAnthony Mushrow25-Jan-08 8:47 
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
spearwall26-Jan-08 0:20
spearwall26-Jan-08 0:20 
hi SK Genius, how are you? Blush | :O
Yes, "login.exe" is exactly gotten from
login.Modules[0].BaseAddress;<br />


here is my code, please takes a look. There's something about it I want to learn from you:

<br />
                Process login = Process.GetProcessesByName("login")[0];<br />
                IntPtr i = login.Modules[0].BaseAddress;                <br />
                int pAdd = (int)i + 0x005D1440; <br />
                int x, temp;<br />
                unsafe<br />
                {<br />
                    int* xpointer;<br />
                    xpointer = (int*)(pAdd);<br />
                    x = *xpointer;<br />
                }<br />
                temp = x;

This code was built successfully but when this program was run, I got a warning "AccessViolationException was unhandle" : "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
at the line: x = *xpointer;

Then, it was not responding D'Oh! | :doh:

How to pass this? Please help me, it seems that I nearly reach my goal. Thank you SK GeniusRose | [Rose]
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
spearwall26-Jan-08 19:56
spearwall26-Jan-08 19:56 
GeneralRe: Need help about [Address of pointer] and [Offset] Pin
spearwall27-Jan-08 1:18
spearwall27-Jan-08 1:18 
GeneralStrange behaviour of 'iif' condition in SSRS Pin
i_want_to_learn_c#24-Jan-08 22:48
i_want_to_learn_c#24-Jan-08 22:48 
GeneralRe: Strange behaviour of 'iif' condition in SSRS Pin
Mark Churchill25-Jan-08 4:00
Mark Churchill25-Jan-08 4:00 
GeneralRe: Strange behaviour of 'iif' condition in SSRS Pin
i_want_to_learn_c#25-Jan-08 6:34
i_want_to_learn_c#25-Jan-08 6:34 
GeneralError Adding Web Reference to a Sharepoint Web Service Pin
r-mo24-Jan-08 21:38
r-mo24-Jan-08 21:38 
QuestionProxy avoidance software?? Pin
Muammar©24-Jan-08 21:21
Muammar©24-Jan-08 21:21 
GeneralRe: Proxy avoidance software?? Pin
Paul Conrad27-Jan-08 7:17
professionalPaul Conrad27-Jan-08 7:17 
GeneralRe: Proxy avoidance software?? Pin
Muammar©27-Jan-08 18:29
Muammar©27-Jan-08 18:29 
Questionto retrive data from database into arraylist.. in c# Pin
avvaru.murali24-Jan-08 21:04
avvaru.murali24-Jan-08 21:04 
GeneralRe: to retrive data from database into arraylist.. in c# Pin
CKnig24-Jan-08 21:28
CKnig24-Jan-08 21:28 
QuestionRe: to retrive data from database into arraylist.. in c# Pin
avvaru.murali24-Jan-08 22:05
avvaru.murali24-Jan-08 22:05 
GeneralRe: to retrive data from database into arraylist.. in c# Pin
J4amieC24-Jan-08 22:33
J4amieC24-Jan-08 22:33 
QuestionHow to change my line color while debugging. Pin
Sophia Rekhi24-Jan-08 20:52
Sophia Rekhi24-Jan-08 20:52 
AnswerRe: How to change my line color while debugging. Pin
Abhijit Jana24-Jan-08 21:33
professionalAbhijit Jana24-Jan-08 21:33 
GeneralRe: How to change my line color while debugging. Pin
Sophia Rekhi24-Jan-08 23:42
Sophia Rekhi24-Jan-08 23:42 
Questionhow to hold the modifed data fro grid Pin
jaddu24-Jan-08 20:30
jaddu24-Jan-08 20:30 

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.