Yves Dolce

MCS Partner ISV

  • Yves Dolce

    My PowerShell host prompt

    • 0 Comments
    Looking at others code is the best way to learn. I looked at some and modified it, adding the environment variables for the Windows SDK 6.0 (for my needs). Here it is: $env:MSSdk = "C:\Program Files\Microsoft SDKs\Windows\v6.0" $env:SdkTools = ...
  • Yves Dolce

    Throw If Fails

    • 1 Comments
    I like to use this when writting sample code: inline void Tif(HRESULT hResult) { if FAILED(hResult) { throw _com_error(hResult); } } inline void Tif( bool succeeded) { if (!succeeded) { DWORD lastError = GetLastError(); throw...
  • Yves Dolce

    Caching StockIcons for Windows Presentation Framework...

    • 0 Comments
    Here is what I've added to the code to handle the BitmapSource cache and hopefully (yes, I have sined by not measuring anything, before or after) improve performance: using BitmapSourceDictionary = System.Collections.Generic. Dictionary < int...
  • Yves Dolce

    Building the Windows SDK samples on Vista...

    • 0 Comments
    Well, because of UAC, one needs to change the folders and files' ACLs under "%ProgramFiles%\Microsoft SDKs\Windows\v6.0\Samples" in order to be able to create files (e.g. executables, object files, ...). So this time I decided I would give ICACLS a...
  • Yves Dolce

    StockIcons for Windows Forms?

    • 0 Comments
    This is what I had written to better understand the API, in C++/CLI and for Windows Forms. One could use it like this: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { Drawing::Icon ^ ic = StockIcons::GetIcon(StockIconIdentifier...
  • Yves Dolce

    StockIcons for Windows Presentation Framework?

    • 1 Comments
    Windows Vista introduces a new native API that allows you to retrieve system-defined Shell icons: SHGetStockIconInfo . Those icons are stored in %SystemRoot%\System32\ImageRes.dll. To understand that API documentation, I read About Icons again: last...
  • Yves Dolce

    GraphEdt.exe and Vista...

    • 0 Comments
    I've been working on some COPP related code sample on Vista, I could not see the graph I had built. Was this because I was using the EVR instead of the VMR9 as I was on XP? Well no. I read Loading a Graph From an External Process and registered Proppage...
  • Yves Dolce

    std::exception

    • 0 Comments
    I've found those useful: Error and Exception Handling Exception-Safety in Generic Components
  • Yves Dolce

    Running Visual Studio 2005 on Vista RC1 with HighDPI

    • 2 Comments
    When moving the separator bars/sliders between the docked windows/panes, you'll have a terrible experience. Same thing when trying to dock a floatable window. Workaround? Go to the Compatibility tab in the properties of DevEnv.exe and check the...
  • Yves Dolce

    alias | where {$_.Definition -eq "Set-Location"}

    • 1 Comments
    Back from the airport, checked my e-mail and decided I would finally switch to PowerShell as it starts to have the same responsiveness as CMD.EXE when typing DIR. My first """"fancy"""" command? Here it is: alias | where {$_.Definition -eq "Set-Location...
  • Yves Dolce

    CoCreateInstanceAsAdmin and the Elevation Moniker

    • 2 Comments
    You might see that API referred here and there to help with the new UAC scenarios. And you'll also read that some people are wondering where the API declaration is... I understand that the COM team implemented Elevation Moniker to super-set this API...
  • Yves Dolce

    Microsoft Football Scoreboard

    • 0 Comments
    Christian just showed this to me. Nice! Follow this year’s FIFA World Cup tournament with Microsoft Soccer Scoreboard! I was in Olimpiazentrum yesterday to watch México - Iran!
  • Yves Dolce

    ImageToIPicture

    • 0 Comments
    Converting an Image to an IPicture seems a recurring question. I did not tried the following code but it does compile. sealed class ImageToIPicture : AxHost { private ImageToIPicture() : base ( null ) { } static public object Convert( Image...
  • Yves Dolce

    CommandLink wrapper in C++/CLI for you managed code under Vista

    • 1 Comments
    Catherine , una amiga mía, Technical Evangelist en DPE, wrote some C# code that will be shared soon during a "Light Up" lab event in Munich. When reading it, the first thing that came to my mind was: "Ce serait tellement plus élégant en C++/CLI". Before...
  • Yves Dolce

    x64 porting and your comments

    • 0 Comments
    I just realized I have not been receiving notification when you were posting some comments so please accept my apologies. I’ve changed this and should be automatically notified via e-mail now. Lately, I’ve spent some time with companies porting their...
  • Yves Dolce

    Bear Cub (Cachorro)

    • 2 Comments
    It makes a while I did not watch an interesting movie. I saw Vendetta and did enjoy most of it but I would not recommend it to a friend. Then on Saturday, I picked Bear Cub from the foreign movies section at the KCLS and watched it on Sunday evening...
  • Yves Dolce

    Brandon Bray on Channel 9, talking about VC++ 2005

    • 0 Comments
    The page: http://channel9.msdn.com/Showpost.aspx?postid=181706 The stream: mms://wm.microsoft.com/ms/msnse/0604/27530/Brandon_Bray_VC2005_MBR.wmv
  • Yves Dolce

    cd "My Documents"

    • 6 Comments
    John was complaining about this not working so I wrote MyDoc.bat: @REM This will work if you did not redirect “My Documents" @%HOMEDRIVE% @cd %HOMEPATH%\My Documents Is there a better way?
  • Yves Dolce

    C++ Templates - The complete guide

    • 0 Comments
    One of the numerous benefits that working at Microsoft brings is that you can just walk in one of the internal libraries and find such a book . I've just finished the first hundred pages and although I did not learn much as I know that topic, it was still...
  • Yves Dolce

    Brazilian Groove

    • 1 Comments
    This CD is really very nice. This is already the 3rd time I'm listening to it in a row... Now, the trick is to get those artists original CDs, their own: l ooks like I need to go to Brazil. ;-) Muito obrigado Cristina.
  • Yves Dolce

    Death and old calculators/computers...

    • 3 Comments
    Yesterday evening, for some reasons, I was thinking about death and how I started to know about the computing world... I thought "Tomorrow, I'll see if I can find pictures of those things I've been using since I was 13 year old". Apple II Learned...
  • Yves Dolce

    SQL 2005 Browser add-in for .NET Reflector

    • 0 Comments
    While Maarten and I are working on porting some VC++ 6.0/98 to VC++ 8.0/2005, I found this add-in reading Lutz Roeder's blog . Now that VC++ 6.0 has been out of support for months, the Partner ISVs we take care of welcome that type of help! (yes, this...
  • Yves Dolce

    What about removing some doubts about XAML?

    • 0 Comments
    Chuck Jazdzewski is an architect on the Windows Presentation Frameword team. I really like the way he introduces XAML: http://www.removingalldoubt.com/categoryview.aspx/XAML
  • Yves Dolce

    The new Aero Wizard and MFC

    • 0 Comments
    I've been suggesting Nikola to blog on this but meanwhile, here is an essential piece of information: MFC 8.0 does not support Aero Wizard. Our goal for Orcas to make it all automatic and fix any related issues in MFC. That said, if you want to...
  • Yves Dolce

    "Crossbow" – Windows Forms and Windows Presentation Foundation Interoperability

    • 0 Comments
    I can't say much more but as this is on that page , make sure you tune into MSDN TV in a bit less than a week...
Page 3 of 9 (223 items) 12345»