Click here to Skip to main content
15,569,768 members
Home / Discussions / C#
   

C#

 
QuestionCalling Method of an Active Form from the MDI Parent Pin
uygarer24-May-09 0:13
uygarer24-May-09 0:13 
AnswerRe: Calling Method of an Active Form from the MDI Parent Pin
Moreno Airoldi24-May-09 1:12
professionalMoreno Airoldi24-May-09 1:12 
AnswerRe: Calling Method of an Active Form from the MDI Parent Pin
DaveyM6924-May-09 1:25
professionalDaveyM6924-May-09 1:25 
QuestionFunction Caller Pin
Saiyed Alam23-May-09 23:56
Saiyed Alam23-May-09 23:56 
AnswerRe: Function Caller Pin
DaveyM6924-May-09 0:02
professionalDaveyM6924-May-09 0:02 
GeneralRe: Function Caller Pin
Mycroft Holmes24-May-09 0:38
professionalMycroft Holmes24-May-09 0:38 
GeneralRe: Function Caller Pin
DaveyM6924-May-09 1:05
professionalDaveyM6924-May-09 1:05 
GeneralRe: Function Caller Pin
Daniel Grunwald24-May-09 5:32
Daniel Grunwald24-May-09 5:32 
When playing with the stack at runtime, remember that the JIT is allowed to perform inlining, so stack frames might disappear in release build (possibly even depending on the installed .NET version - the inlining heuristics are tuned from time to time).
You'd have to mark all three GetBUUser(), GetISUser() and LoadUserBUStatus with MethodImplOptions.NoInlining to be safe from that.
But on 64-bit .NET, even that isn't enough: there the JIT will perform the tail call optimization, which can also cause stack frames to disappear. Unfortunately, there's no way to disable tail calls.

You should avoid analyzing the stack at runtime at all costs.
AnswerRe: Function Caller Pin
Mycroft Holmes24-May-09 0:35
professionalMycroft Holmes24-May-09 0:35 
Questiondownload at internet bandwith with c# Pin
Abdul Rahman Hamidy23-May-09 23:26
Abdul Rahman Hamidy23-May-09 23:26 
Question[Message Deleted] Pin
hkjghkj123-May-09 22:28
hkjghkj123-May-09 22:28 
AnswerRe: filter Pin
Eddy Vluggen23-May-09 22:51
professionalEddy Vluggen23-May-09 22:51 
General[Message Deleted] Pin
hkjghkj124-May-09 0:34
hkjghkj124-May-09 0:34 
GeneralRe: filter Pin
Eddy Vluggen24-May-09 0:48
professionalEddy Vluggen24-May-09 0:48 
QuestionTo add headertemplate and contenttemplate of a TabContainer Programaticaly [modified] Pin
Shahdat Hosain23-May-09 21:48
Shahdat Hosain23-May-09 21:48 
QuestionDESCryptoServiceProvider - key size (public key from mykeys.snk not compatible) Pin
devvvy23-May-09 19:56
devvvy23-May-09 19:56 
QuestionCrystal report Pin
KIDYA23-May-09 19:50
KIDYA23-May-09 19:50 
AnswerRe: Crystal report Pin
_Maxxx_24-May-09 17:57
professional_Maxxx_24-May-09 17:57 
QuestionX509 makecert from snk file (sn.exe)? Pin
devvvy23-May-09 18:44
devvvy23-May-09 18:44 
QuestionThreeState checkBox? Pin
Xenoserv23-May-09 17:17
Xenoserv23-May-09 17:17 
AnswerRe: ThreeState checkBox? Pin
Mycroft Holmes23-May-09 17:40
professionalMycroft Holmes23-May-09 17:40 
GeneralRe: ThreeState checkBox? Pin
Xenoserv23-May-09 18:02
Xenoserv23-May-09 18:02 
GeneralRe: ThreeState checkBox? Pin
Mycroft Holmes23-May-09 18:45
professionalMycroft Holmes23-May-09 18:45 
AnswerRe: ThreeState checkBox? Pin
Luc Pattyn23-May-09 18:05
sitebuilderLuc Pattyn23-May-09 18:05 
AnswerRe: ThreeState checkBox? Pin
PIEBALDconsult23-May-09 18:52
professionalPIEBALDconsult23-May-09 18: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.