locked
About session of Matt,Merry - Windows Runtime internals: understanding "Hello World"

    Question

  • Hi Everyone:

    Do you know where I can get the toolkit developed by matt,merry, "debugtool.exe"?

    http://channel9.msdn.com/events/BUILD/BUILD2011/PLAT-875T   

    I guess perhaps there should be some workarounds for insertion of breakpoint to wmahost.exe before entering RTMain() method. Any information for this?

    By the way, I really wonder how the toolkit has been implemented. In traditional win32 application, we can insert breakpoint via MACRO/Win32 API. However, that's in User application. In RT system, there should be some alternative for us to do so, as matt has been done for "hello world" demo.

    Any information for this. Really * N thanks so * N much.

    Orlando,Ding

    Saturday, October 01, 2011 3:20 AM

Answers

  • If you are looking for the debug tool I used in this presentation, a non-Microsoft sponsored, non-Microsoft supported codeplex project has been started that is hosting such a tool, you can find it here:

    http://winrt.codeplex.com

    Or you can write your own using the IPackageDebugSettings interface. You should be able to get what you need at the codeplex site. Let me know if you have questions!

    Monday, October 03, 2011 5:07 PM
  • Hi All:

    I installed preview version, but only with Ultimate version. It contains SDK of windows 8. Thanks for Rialdi and Matt Help.

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543 - this Ultimate version will contain Windows 8 SDK.

    Best Regards

    Orlando

    • Marked as answer by Orlando, Ding Friday, October 07, 2011 2:38 PM
    Friday, October 07, 2011 2:38 PM

All replies

  • I will ask Matt and get back to you :).
    Unni Ravindranathan, Program Manager, Microsoft Expression This posting is provided "AS IS" with no warranties, and confers no rights.
    Sunday, October 02, 2011 9:36 PM
  • Thanks Unni...Really very exciting for Windows 8 release and RT system, Now I'm learning WRL programming and metro. Hmmm...

    Learning time now. Thanks a lot ^_^
    Monday, October 03, 2011 9:50 AM
  • If you are looking for the debug tool I used in this presentation, a non-Microsoft sponsored, non-Microsoft supported codeplex project has been started that is hosting such a tool, you can find it here:

    http://winrt.codeplex.com

    Or you can write your own using the IPackageDebugSettings interface. You should be able to get what you need at the codeplex site. Let me know if you have questions!

    Monday, October 03, 2011 5:07 PM
  • Hi Merry:

    Yeah, this afternoon, I played with this toolkit to reproduce what you introduced during the session [of course, with a little effort for DDK downloading]. Hmmm... quite funny, really IKnown ^_^

    by the way, I also check up with winrt.codeplex.com for source code, However, I can't open it directly via VS2011 developer preview version. My installed version is http://msdn.microsoft.com/en-us/windows/apps/br229516 ->

    Windows Developer Preview with developer tools English, 64-bit (x64).

    I checked up project type, and open with my vs2010 express, but it seems not the correct approach.

    So my questions :

    1, How can I open the project and do success compiling?

    By the way, seems some header files are missing in my installation,I can't even find 

    ********************************Missing ALT Header File****************************************

    //TODO : In stdafx.h

    #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS     

    #include <atlbase.h>
    #include <atlstr.h>

    *******************************Missing ShObjIdl.h*****************************************

    //TODO : C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ShObjIdl.h -> In Windows 7 SDK header, but I don't think I should use it
    #include <ShObjIdl.h>
    //IPackageDebugSettings
    //CLSID_PackageDebugSettings
    //IID_IPackageDebugSettings

    ************************************************************************

    2, How can I do some configuration [or install VS2010 to compile] for header file? [perhaps I'm wrong]

    Checking-up with implementation,

    Registry operation for iteration of all package type; OS checking-up with win32 API;

    ALT COM API for package debugging, so your team work out COM API interface just for package debugging?seems just for demo purpose???

    Seems that windows 8 has designed a pure COM package API to work as traditional Win32 API, then it become a kind of "nature" cross-language layer.

    How about the kernel design for windows 8? [I know it's a really big question, perhaps after I check up with kernel session, I'll get a draft understanding for this.]

    Perhaps I should first make the source code working, then continue with further investigation....

    Thanks a lot for your reply ^_^

    Orlando with a lot of questions [this signature will be better for me]

    Tuesday, October 04, 2011 2:17 PM
  • Hi Merry:

    I tried to compile project with ALT header file in VS2010, However, as windows 7 SDK in VS2010 don't have ShObjIdl.h<C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\ShObjIdl.h> with correct IPackageDebugSettings interface.

    Of course, it failed, Could you help me a hand for this?

    Thanks again for your help and output for us to understand how winRT work. ^_^

    http://msdn.microsoft.com/en-us/library/windows/desktop/hh438393(v=VS.85).aspx ....

    Wednesday, October 05, 2011 3:20 AM
  • Hi Merry: Sorry to interrupt your work again, could you give me some hints for compliation of WinRTDebug toolkit? I found the API depends on some idl file, but in windows development preview system. no file there in SDK folder. And the VS2011 preview couldn't open such project, [such project seems just for VS2010 in .Net 4.0 compatiable environment]. Thanks ^_^ Do I need to install addtional SDK besides preview WDK?
    Wednesday, October 05, 2011 10:15 AM
  • Hi All:

    I installed preview version, but only with Ultimate version. It contains SDK of windows 8. Thanks for Rialdi and Matt Help.

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543 - this Ultimate version will contain Windows 8 SDK.

    Best Regards

    Orlando

    • Marked as answer by Orlando, Ding Friday, October 07, 2011 2:38 PM
    Friday, October 07, 2011 2:38 PM