Answer Questions
SimonS_ Any method for MF PVP application fail gracefully if video driver is not PVP signed?
I am working on an application that runs protected playback with Media Foundation. I've encountered a problem that with some graphics cards, an error dialog box pops up from another process saying " Bad Image: X is either not designed to run on Windows or it contains an error". After repeatedly pressing OK for the same dialog poping up many times, I can see the application hits a debug assertion saying that ESP is not properly restored. I've read about the following previous thread in this forum and know that this symptom happens because video driver is unsigned and mfpmp.exe failed. "MF_ProtectedPlayback Sample doesn't work for Video on Vista Beta 2: Thread Start ...Show All
minority80 How do I hide scrollbars in Firefox?
How can I hide the scrollbars of gadgets in Firefox I've tried adding overflow:hidden to the css, but it doesn't do a thing. wwwDean wrote: Hi Todd. Sorry, I don't understand your explanation. Netvibes and Google both allow third party modules that display in iFrames that look great in in FireFox without scrollbars. how are they able to do this and Live.com cannot That seems like new behavior for the Google/ig, as they didn't used to segregate first-party from third-party content. How do they do it I don't know. My information was from what the Live.com people have publicly said about the scrollbars in Firefox. Perhaps they were wrong and there's another ...Show All
Jamie Thomson ActiveX for Sidebar best practices
I am interested in further exploring the possibilities of using/developing an ActiveX object for use in a Sidebar gadget but havent done anything like this before. What are the best ways of proceeding with this Can i use Visual Studio 2005 to create an ActiveX object i tried using ATL project, i was able to compile it but not to register it Check and make sure you're selecting the basic ATL COM object option when setting up your project or adding an ATL object to it. The "IE" and "control test container" options you mention make me think that you instead selected an ATL UI control, which is a somewhat more complex animal that contains a number of interfaces used to interact with the U ...Show All
DEEPAK GARG Specification of class definitions?
I was looking at the javasscript of one of the examples posted and came across: Player.playlist.titles["T1"].jump("00:00:00:00", false); Where can I find a doc that outlines classes and methods. For example what is the second (boolean) parameter for the method jump Will that information ever be released outside the spec I don't have 50 grand lying around Unfortunately the API's are currently only available in the HD DVD Video Specification, Annex Z. For that particular call, the second boolean argument is to save the resume information. That means that after the jump happens, you can resume to where ever you're coming from. Unfortunately there is only one built-in bookmark to save this way, so it's not ...Show All
zot166249 Picture In Picture Sample for Toshiba Player
Thank you Peter, for the PIP sample. I got it to work in the MS Simulator. However, when I attempted to write code for the Toshiba player I had no success. I use the Sonic tool to mux. The playlist generated by the Sonic tool does not reference a "SecondaryAudioVideoClip", instead a "SubVideo" is referenced as part of the "PrimaryAudioVideoClip" <PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" src=" file:///dvddisc/HVDVD_TS/EVOB001.MAP " titleTimeEnd="00:04:22:24" dataSource="Disc"> <Video track="1"/> <Audio track="1" streamNumber="1"/> <SubVideo track="1"/> </PrimaryAudioVideoClip> When I m ...Show All
sanwanas Should child DIV be clipped by parent DIV?
Hi! Can anyone clarify this issue HdiSim clips child DIV by the parent DIV in the following example. But all HTML Browsers don't clip child (in the similar HTML/CSS2 test). According to CSS/XSL spec, clipping is controlled by 'overflow' and 'clip' properties. iHD spec doesn't describe them. XSL spec defines initial value of 'overflow' property as auto: "The behavior of the "auto" value is user agent dependent, but should cause a scrolling mechanism to be provided for overflowing boxes." Is 'clipping' correct behavior <body style:backgroundColor="green" style:opacity="0.3" style:font="font.ttf"> <div style:backgroundColor="red" style:x="100px" sty ...Show All
Kevin McElhiney JavaScript on protected and non-protected disk
Hello, I visited this forum already some time ago and I did read a thread that said that not all JavaScript commands do work on a non-protected disk (so a disk without AACS). I searched the forum, but was not able to find it back. Can anybody shed some light on this Is it true and if so, which commands are affected Thanks in advance for any info ! And if you happen to have a spec, the complete list is in Annex X. To test network delivered content you need either -. the Toshiba tools with software emulator - Sonic Simulator I streamed network trailers from http in the Sonic Simulator. It is easy. I thought there was a back door approach when I was reading the spec, I guess I read it wrong. ...Show All
TechMate unsetProperty()
One of the suggestions the Toshiba folks made to my comp 5 code was to, "call unsetProperty() for each set to state.value in script to avoid global state side-effect" So for instance: document.FOO.state.unsetProrpety("value"); document.FOO.state.value = "true"; I read V17-104 but don't really understand the what unsetProperty does and why it is necessary before setting a propert. " State properties hold their value when unset, unlike style properties which when unset revert to the the current value from markup. So you don't necessarily want to be in the habit of unsetting style properties... just state ones." Ahhh, ok thanks Scott. Very helpful. Hey Will, You actually have the t ...Show All
Jim P. How to get Market information when add gadget by URL "http://www.live.com/?add=http://xxx/xxx.xml"?
When I add a gadget by inputing URL for example ' http://www.live.com/ add=http://xxx/xxx.xml ', I can't get the correct market information but it gives me "en-us" all the time as I set the language in live.com is Chinese which's market information is "zh-cn". So is this a bug in the live.com Or is there any other ways to get the correct market information Ps: getLanguage() and getLocal() methods will return null in this situation. Thanks Starlet, I use the M_CultureVariable_Text to retrieve the market information on live.com. It's available for use, just reference it. Thanks, man. I have tried it and it works. Could you tell me ...Show All
khawaja Using one Button to open and close menu
I'm trying to change my menu trays to open and close with the menu button. The problem is I cannot think of a way in markup, to end one of the actions properly. I thought about just making a class that is set to either open or close. Any ideas <timing clock="page"> <defs> <!-- Effects for opening and closing main menu. --> <animate id="OpenMenu" style:x="-450px;0px" /> <animate id="CloseMenu" style:x="0px;-450px" /> <set id="Hide" style:display="none" /> <set id="Show" style:display="auto" /> </defs> <par> <seq begin="(id('BTN_MENU')[state: ...Show All
GS80 Question: using activex controls on a gadget
Hi, i am leroy (spydaz) i have recently read the tutorial on windows sidebar gadgets. and the tutorial on sidebar gadgets... Firstly i use VB6 and Ms.Office.2003. i would like to begin building gadgets.. Is it possible to use activex controls on a sidebar gadget. As with regular WebDesign / HTML. ie design the control in VB6 Mycontrol.OCX and use it in a sidebar gadjet. ie: mini Database Form Project... as i saw with the templates available as samples the were all refferenceing then new architecture .net *ExpressEditions. fathi S. Elashery wrote: hi i have a problem in registering the com component can any one send me how to register .dll file if it is different of the previose version thank ...Show All
dan.maniac File operations
What's the best way to check if a file exists in a gadget subfolder And what's the best way to get a list of all files within a subfolder Andy damn you MSDN! System.Gadget.itemFromPath isn't listed in the sidebar reference. If it was, I'd have spent the last 2 hours doing something better with my time! Please update MSDN as soon as you can so developers aren't scratching their heads for ages. Andy D'oh! No wonder i couldn't find it :) maybe I owe Microsoft an apology ;) Andy Andy E wrote: damn you MSDN! System.Gadget.itemFromPath isn't listed in the sidebar reference. Don't you mean System.Shell.itemFromPath, which is here ...Show All
A.Kahn Gadget for my site...
I would like a gadget for my personal site that would be able to pull dynamic content from a message board and list the 'hot topic' or top 5 topics in a seperate little window when you click the gadget. I click it...the window opens...and the selected content is displayed... Thanks, Chris Are you asking for help creating the gadget or are you asking for someone to do it for you Does your forum output in RSS format If it does, it's probably easy. If not, it's probably a pain. Andy What RSS stuff do I need to look out for I know there is a MOD for the forums I use now. It says something about RSS 0.92. Are there standards I need to consider There are apparently like 5 choices from the forum sof ...Show All
rebeccat DXVA2.0 in MFT
According to the msdn spec, it says the media session will call GetAttributes on the MFT (which should send the MF_SA_D3D_AWARE attribute back up). For some reason the media session does not call the IMFTransform::GetAttributes(). I am using the PlaybackFX sample. Any ideas why it doesn't call GetAttributes I'm going to guess that the transform in question isn't a decoder. In order for the MF session (actually, the topology loader) to do the D3D setup, the MFT in question has to be a decoder, and the MF topology loader has to have inserted it itself. I'm guessing that neither of these is the case for you. There is a way for you to get D3D set up on your non-decoder MFT, though... by doing it ...Show All
satya999 Eventhandler "controller_key_down"
Hi, i have a problem with the eventhanlder "controller_key_down". I write following function, but when i press the Key "1" nothing happen. I also tryed other keys, but it doesnt work. Can someone help me with this problem function handleEvent(evt) { switch (evt.key) { case VK_1: Player.playlist.titles["robots"].chapters[1].jump("00:00:00:00",false); break; } } application.addEventListener("controller_key_down",handleEvent,true); USB Keyboards are an issue with iHDSim. I'm using my Qosmio laptop this week with a USB MIcrosoft Natural Keyboard Elite connected via USB. While running some projects in the iHDSim, I can use ( ...Show All
