• benwu's WebLog

    SpyWindowFinalizer and Windows Message Hooking

    • 0 Comments
    One very powerful API that some UI developers may not be aware of is SetWindowHookEx. This api allows you to intercept all types of window messages before (or after) they are processed. You can use this to do a whole range of neat things. For instance...
  • benwu's WebLog

    Control.Invoke hangs under heavy stress

    • 4 Comments
    There have been reports of Control.Invoke hanging after the method completes. This was reported by a few customers and we have fixed this. For your reference: ID: SRX050308605416 KB Article: 896665 The problem stems from some of the errors I...
  • benwu's WebLog

    Having assembly binding problems?

    • 11 Comments
    If you're getting assembly load errors and cannot figure out why, you can use the fusionlog viewer to help figure it out. The fusion log will show exactly how all managed assemblies were resolved. Check out: http://msdn.microsoft.com/library/default...
  • benwu's WebLog

    Wireless MP3 is HERE!

    • 8 Comments
    I sent this as feedback on another persons blog -- but I've got to plug in some free advertising for Creative Labs. This setup is incredible. http://us.creative.com/products/product.asp?category=119&subcategory=121&product=9192 It took me...
  • benwu's WebLog

    Managed Spy -- A new way to look at Windows Forms applications

    • 0 Comments
    I just wrote an article for msdn magazine, " Managed Spy : Deliver The Power Of Spy++ To Windows Forms With Our New Tool " This tool is a combination of an application (exe) and library (dll). The application gives you a spy++ view of all managed processes...
  • benwu's WebLog

    Deployment help! in VS 2003

    • 1 Comments
    I recieved a request for information and deployment and our deployment expert pointed me to this share. Let me know if it helps. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdeployment.asp
  • benwu's WebLog

    Is this code threadsafe?

    • 1 Comments
    Here is a question for you multithreaded coders out there. After executing Thread1 and Thread2, what are the possible values for "i"? bool b1 = false ; bool b2 = false ; int i = 0; private void Thread1() { b1 = true ; if (b2) { i = 1; } } ...
  • benwu's WebLog

    Fixing Window leaks and "Class Already Registered" errors

    • 2 Comments
    Windows Forms makes it very easy to create a rich UI experience. But it also makes it easy to leak windows or resources. For example, say you create a new temporary AppDomain and decide to show some UI in it. If you close the AppDomain without cleaning...
  • benwu's WebLog

    New VS feature allows VS to crash!

    • 3 Comments
    One of the newer "features" in Visual Studio 8.0 is the ability for us to collect better information about exceptions that are thrown in VS. When an exception is thrown (and unhandled), VS will generate a Watson report that will send microsoft a minidump...
  • benwu's WebLog

    Custom controls for Devices in VS 7.1

    • 0 Comments
    A workmate and I were talking in the hallway and he mentioned that he saw several newsgroup postings that implied that the lack of device custom control support in VS 7.1 was intentional. This couldn't be anything further from the truth! Although we...
  • benwu's WebLog

    First Post

    • 2 Comments
    This is my first BLOG entry! I am a developer on the Visual Studio for Smart Devices team. My main areas of expertise are designer infrastructure, custom controls, and a hodgepodge of other areas such as Intellisense and post-compilation verification...
  • benwu's WebLog

    Bindings, Bindings and more Bindings

    • 1 Comments
    Normal 0 false false false MicrosoftInternetExplorer4 Bindings in WPF are great and can accomplish so many things. But how many times have you been in the position of trying to do any...
Page 1 of 1 (12 items)