Click here to Skip to main content
15,914,642 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant19-Feb-12 22:08
julian@giant19-Feb-12 22:08 
QuestionwsHttpBinding using ReliableSession - Maximum retry count has been exceeded with no response from remote point Pin
gunter7915-Feb-12 5:05
gunter7915-Feb-12 5:05 
AnswerRe: wsHttpBinding using ReliableSession - Maximum retry count has been exceeded with no response from remote point Pin
gunter7916-Feb-12 7:38
gunter7916-Feb-12 7:38 
Questionconfiguration managment application blocks 5.0 Pin
Vamshi Krishna Parepalli13-Feb-12 19:30
Vamshi Krishna Parepalli13-Feb-12 19:30 
AnswerRe: configuration managment application blocks 5.0 Pin
Richard MacCutchan14-Feb-12 0:10
mveRichard MacCutchan14-Feb-12 0:10 
QuestionUse newer version of Assembly if it is available. [SOLVED] Pin
Shameel10-Feb-12 2:45
professionalShameel10-Feb-12 2:45 
QuestionEntity Framework 4.0 AddObject() Method Encounter OptimisticConcurrencyException Pin
gujingshui9-Feb-12 16:06
gujingshui9-Feb-12 16:06 
SuggestionDebuging Tips And Memory Read? Pin
creizlein9-Feb-12 2:07
creizlein9-Feb-12 2:07 
I have been facing some issues lately with Pinvoke calls to native functions of advapi32.dll from managed code and i haven't found yet a way to make it work properly, facing multiple problems related to the classic "A call to ... has unbalanced the stack" and "attempt to read/write protected memory".
 
My question here is regarding on how to debug those situations properly, as i may not have experience debugging this i ran into the situation where i cannot get information enough to know where the error is.
 
Is there any way to debug/step into those calls from VS2010 that im not aware of, or maybe a way to read the memory that is being allocated and try to discover it by myself?
 
To give an example, i have a PTR to a memory address which is supposed to hold a structure, which is pretty big and consist of a lot of another sub-structures and i believe the problem is related to the definition of those as i might not be using the correct data types.
So, for instance, how i can read a specific memory block from a PTR and see which data is allocated there to see if it fits into the structure in the correct fields?
 
I'm sorry if this is a confusion question, but I'm more like looking for some guidelines and tips into this... hope to get some comments. 

GeneralRe: Debuging Tips And Memory Read? Pin
Dave Kreskowiak9-Feb-12 2:13
mveDave Kreskowiak9-Feb-12 2:13 
AnswerRe: Debuging Tips And Memory Read? Pin
Luc Pattyn9-Feb-12 16:04
sitebuilderLuc Pattyn9-Feb-12 16:04 
GeneralRe: Debuging Tips And Memory Read? Pin
creizlein9-Feb-12 18:59
creizlein9-Feb-12 18:59 
GeneralRe: Debuging Tips And Memory Read? Pin
Luc Pattyn9-Feb-12 23:28
sitebuilderLuc Pattyn9-Feb-12 23:28 
QuestionReport not published Pin
fareedulhassan7-Feb-12 8:32
professionalfareedulhassan7-Feb-12 8:32 
AnswerRe: Report not published Pin
thatraja7-Feb-12 10:51
professionalthatraja7-Feb-12 10:51 
Questionexpress checkout keep loading did'tn return to merchant Pin
awakepoh6-Feb-12 21:09
awakepoh6-Feb-12 21:09 
AnswerRe: express checkout keep loading did'tn return to merchant Pin
Richard MacCutchan6-Feb-12 22:48
mveRichard MacCutchan6-Feb-12 22:48 
QuestionKilling the session on click of Brwoser X Pin
hooters_263-Feb-12 1:44
hooters_263-Feb-12 1:44 
AnswerRe: Killing the session on click of Brwoser X Pin
Dave Kreskowiak3-Feb-12 2:30
mveDave Kreskowiak3-Feb-12 2:30 
AnswerRe: Killing the session on click of Brwoser X Pin
sund7wells5-Feb-12 20:05
sund7wells5-Feb-12 20:05 
GeneralRe: Killing the session on click of Brwoser X Pin
Not Active6-Feb-12 1:33
mentorNot Active6-Feb-12 1:33 
QuestionCould I improve my class which contains multiple class references Pin
Simon_Whale2-Feb-12 22:48
Simon_Whale2-Feb-12 22:48 
Question.net GridView error(server tag not well formed) Pin
brindhasudar2-Feb-12 5:21
brindhasudar2-Feb-12 5:21 
GeneralRe: .net GridView error(server tag not well formed) Pin
Manfred Rudolf Bihy2-Feb-12 5:37
professionalManfred Rudolf Bihy2-Feb-12 5:37 
Question.Net and Windows API Pin
Mohibur Rashid1-Feb-12 22:43
professionalMohibur Rashid1-Feb-12 22:43 
AnswerRe: .Net and Windows API Pin
Dave Kreskowiak2-Feb-12 2:23
mveDave Kreskowiak2-Feb-12 2:23 

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.