Hi Jeffrey, I am relatively new to programming and just wanted to say thank you for your input into the developer community, it has helped my understanding of...
Thanks for reporting this. This is my bug and I have just fixed it; I had some bugs in my code when running on 64-bit Windows. I'm enclosing a build which I...
Hi Jeff, Your excellent OneManyResourceLock predates .NET 3.5 and was a welcome and much-needed addition to managed concurrency. However, now with 3.5 we have...
My performance tests show that my OneManyResourceLock lock is still faster than ReaderWriterLockSlim. However, ReaderWriterLockSlim's perf numbers are not bad;...
Hi, I have just successfully tested the new build and the bug has definitely been fixed, thanks for your quick response. Also, are you in a position to comment...
Yes, that post is true. However, I DO plan to revise the book for .NET 4.0 and I've already started work on that. It should be out by the end of this year or...
Hi guys, Please accept my apologies for the last question, I'm sure it garnered a lot of frowns, I should have had more tact. In hindsight I suppose it is...
Hi Jeffrey, I get unhandled exception in very rare situation and cant detect what AE (there are many AEs in our server) throws it. ...
€ ΆΠ’½ΠΈΠΊΠΎΠ»Π°ΠΉ € ...
nsentinel@...
Apr 11, 2009 2:26 pm
418
If you are using a recent (within the past 2 or 3 months) version of my library, then I added a bunch of debugging support that can help you with this. First,...
Thank you for detailed explanation. The main problem is that it happens on customer machine and never happens on developer machine. But we will try to make...
nsentinel@...
Apr 11, 2009 7:22 pm
420
This info is not currently part of the exception message. However, I can add this to a future version of the library. --Jeffrey Richter...
Thank you, it will helps a lot in future cases. I carefully analyzed our code and found some cases when exception can be thrown, our customer tested new build...
nsentinel@...
Apr 12, 2009 7:06 pm
422
Hi Jeffrey, The abstraction provided by AsyncEnumerator makes for beautifully simple and elegant code, but sometimes it's hard to see exactly how to put the...
I don't know exactly what you are trying to do but from what I can discern, I would probably write the code this way: public class MyBrowser : GeckoWebBrowser...
Tim, In general the EventApmFactory suits better for components implementing the Event-Based Asynchronous Pattern. Maybe you should use the AsyncResult<T>...
You might be right. I don't know enough about the GeckoWebBrowser control. I was assuming that this control already supports the event-based APM and the one...
Jeffrey, Nikos, Thanks to both of your for your replies and suggestions. It's true that my original question is not specific to GeckoWebBrowser - it could be...
Hi again Jeffrey, Sorry - it seems that the more I try explain my goals, the more I complicate things. Your example using WebRequest is very instructive, but I...
Wow! - so simple when it's explained like that. It's just what I wanted Jeffrey - thanks. Nikos - thanks also for your help. I did read the tutorial that you...
Hello, in my little example I want to convert the method 'DoBlockingOperation' to asynchronous operation. But I still blocking the GUI. What am I doing wrong? ...
Hi Ezequiel, This is happening because in your iterator you are still calling the method synchronously. Basically for a GUI app you can define a delegate for...
Yes, this will work and if this is all you're trying to do, then you could simplify it more by just calling ThreadPool.QueueUserWorkItem (if you don't care...
Hi, you may try this little helper: http://blog.vyvojar.cz/jirka/archive/2009/01/17/running-sync-methods-in-async-way.aspx -- Jiri {x2} Cincura (CTO...
In the code below, "LoadSomething" is called in response to a user event in a Silverlight app. I only care about the last call. If I cause the user event many...
This exception occurs if you call DequeueAsyncResult when there is nothing in its queue. My guess is that the item is being discarded AND you are trying to...
I replaced the discard with a cancel (ae.Cancel(null)) and then wrapped the code after the yield in a only execute if not canceled (if (!ae.IsCanceled())) and...