What is the main purpose of WebExceptionStatus.Success? - system.net.webexception

I am a bit confused about the purpose of the enum value Success of the WebExceptionStatus enumeration. I did a search and did not find this enumeration being used outside the WebException class. This is very confusing to me. Why would an exception be used to indicate a successful action/state. Am I missing something, or did I not search thouroughly enough? Was it introduced for future functionality?
Please if anyone does know its basic purpose I would be thankfull if s/he shares with us the explanation.

See if this might help.

Related

Google Docs Spell Check suggestion

I'm not sure where this should be posted but I have a suggestion for Google Docs. My elementary school children are learning to write and I believe it would be beneficial if Docs would point out when their spelling or grammar is wrong via underlining, as is the case now. However, it would be nice if the suggestions could be turned off so that the student is informed something is wrong but they need to be the one to retry until they get it right. Simply clicking the suggestion does not lead to greater understanding. Would this be possible? Thank you,
Chris Barnes
e

What does fn.id mean

I have looked through DarkRP code to learn to create my own addons and game modes. I am trying to understand all that is happening and I have seen fn.id many times and fail to understand what it means. Anyone who can point me in the right direction I would appreciate it :)
fn.Id is the identity function, from the fn module. It returns the arguments passed to it.

CKDiscoverUserInfosOperation usage

I want to find out whether a certain user is using my swift application. I read here that CKDiscoverUserInfosOperation is made exactly for doing this. Since neither the answer nor Apple's docs provide any information on how to use it and I did not find anything useful anywhere else I am asking for help.
So I'd appreciate anyone being so kind and helping me out here :)

dwscript - can anyone help with editor-debugger examples please?

I'm looking at the excellent dwscript for Delphi see here which provides a useful set of classes to implement a built in pascal script for your Application. I would very much appreciate some help with an example of how to link together the supplied debugging interface with an editor so that I can create breakpoints (and ideally see watches). Has anyone gone along this route please?
Thanks,
Brian
Most of the debugger doc is currently in this post
http://delphitools.info/2010/12/03/spotlight-on-dwss-idebugger/
Also the debugger interface hasn't changed much (if at all) since the original DWScript II (on SourceForge), so the old demos there should hopefully still work with minimal adjustments.
http://sourceforge.net/projects/dws/
For breakpoints, you basically just check the source position of the Expr you get in DoDebug/OnDebug against the list of breakpoints. One simple and efficient way is to merely use TBits -using it as a boolean array of which lines have a breakpoint).
Evaluating/watching requires looking up a symbol, which will give you it's stack address, you can then lookup the value in the stack.
I'll try to add/update a debugging tasks demo for v2.2 (unless someone else does it before me ;) )
edit: as of 11-02-14 there is a TdwsDebugger component to facilitate debugging tasks.

What might cause IDirectDrawSurface::Release blocks and never return?

DirectDraw 7 is very old APIs but we have a lot legacy code written on that.
Recently I found that directdraw might block on some of it's interface calls, like IDirectDrawSurface::Release, and never never return. But some times they don't.
I can not find any information by Google so I came here.
Hope you can help me or tell me where I can find help.
Thanks a lot.
A deadlock would imply that you are multi-threading DirectDraw? This isn't a safe plan. You should avoid doing it.
Apologies if this isn't the cause.

Resources