Answer Questions
Yoni Raziel Where can I find "PKEY_Device_FriendlyName" definition?
Hello, guys I'm trying to compile sAPO property sample project in Vista DDK 5472. But everytime I'm trying to do that, I'm getting the error message which says that "'PKEY_Device_FriendlyName' : undeclared identifier". I already searched all the files in DDK 5472, but nothing was found. Can anyone advise me that where can I find that defintion or can anybody advise me how to solve this problem Thanks in advance. Hi, I have installed SDK Build 5536, and I still get the same error with "PKEY_Device_FriendlyName". Could anyone kindly advice Well, I don't know if it is a typo thing or not, but if you use DEVPKEY_Device_FriendlyName and do typecast ...Show All
GethWho brin gadget to front
hi every body plz any one know a function to bring a gadget to front thanks any one have a code to do this. thanks There's no such function. Windows-Space brings the sidebar to the front, so you could in theory insert that in the keyboard buffer with some code. Something like AutoIt may work. Compile this with AutoIt: AutoItSetOption("TrayIconHide", 1) Send("# ") ...Show All
Kevin Jacobson hello!! problem with web sidebar gadget
Hello, im new to ur forum. I'm working on a very simple gadget, but i have problem with the flyout and with showing a web site in it. Can anyone tell me how i show a wesite within the flyout box. Thank you very much. Sorry, I should have pointed out that the <a> should be changed as well. Plus there's a </br> in there. Not to mention the setFlyout function missing. Here's working code. Just make sure your flyout.html is as follows: <html> <body style="width:500px; height:500px"> <div id="frame"></div> </body> </html> gadget.html: <html> <head> <script type="text/javascript"> var url; function set ...Show All
V2G Subtitle feature in WMA and Windows Media Player
Hi, I am developing an audio and video on demand portal based on WMA & WMV and need to be able to add subtitles to my content in WMP 9/10. Do you have any tip or sample code to help me in this subject Any help will be really appreciated. Thanks in advance, Gerson Hi Gerson, You might want to try posting your question here: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.sdk&lang=en&cr=US This forum is for Media Foundation, which is the new multimedia platform for Windows Vista. ...Show All
abhas identifying button from script
Hello, I'm trying to find a way to identify a button which is pressed without using id, so far with no luck. -- markup -- <button style:x="350px" style:y="100px" style:width="200px" style:height="100px" style:position="absolute" /> <button style:x="350px" style:y="300px" style:width="200px" style:height="100px" style:position="absolute" /> <button style:x="350px" style:y="500px" style:width="200px" style:height="100px" style:position="absolute" /> <button style:x="350px" style:y="700px" style:width="200px" style:height="100px" style:position="absolute" /> <button style:x="350px" style:y="900px" style:width="200px" style:height="100px" style:position="absolute" /> -- script -- addEventListener("d ...Show All
Joost Schermers Error in using "CoCreateInstance" API. Error No.0x80040154
Hi, I am using IMM interfaces, but "CoCreateInstance" API is giving me error "class not registered" Error No. is: 0x80040154. I heve written code as below. CoInitializeEx(NULL, COINIT_MULTITHREADED); IMMDeviceEnumerator* pEnumerator = NULL; HRESULT hr = CoCreateInstance( __uuidof (MMDeviceEnumerator), NULL, CLSCTX_ALL, __uuidof (IMMDeviceEnumerator), ( void **)&pEnumerator); In above code HRESULT hr is return as "class not registered". Can any one help me please Hi, I have got solution of above problem. I have installed Windows Vista SDK on Windows ...Show All
gfheiche HD DVD Drive to use
We are looking for a PC-based HD DVD drive - preferably one with writing capabilities. We also are on the Vista Beta to "drive" it, but we cannot find a recommendation for one. Internal or external will do. What are you guys using for development Thanks. Regards, =D- Derek R. Flickinger Interactive Homes, Inc. Toshiba are now shipping a laptop with HD DVD ROM drive - see http://www.toshibadirect.com/td/b2c/toshibadirect.to page=ces06_hddvd&seg=HHO Maybe you can contact Toshiba sales for DVD drive. TS-802 drive should be good for you. The slimline drive SD-L902A is a good choice, too. It's working well with the latest HD DVD-R media. Hi to all, in Italy ...Show All
bryanedds Managed COM object not unloading in Sidebar
So I created an ActiveX control in C#. Works great except for one problem, it doesn't unload when the gadget is closed. I thought it might be something in my gadget that was causing the problem, but I created a gadget that has nothing in it, and it doesn't unload either when the gadget is closed. I tried the same thing with an ATL C++ control, it unloaded fine when the gadget was closed. Any ideas, it's really a problem when installing a new version over an old version thats been run at some point in the sidebar's process time. Dan O'Connell No I do not, I will try thanks, thanks for the tip. I'll let you know how it turns out. Dan Did you implemen ...Show All
hanjg82 js file not Big Endian
I wrote some javascript to test out in the iHD simulator. When I try to play the content I get the error: "Script is not Big Endian" I haven't heard a reference to big endian storage since my mainframe days. Do I need to convert my javascript to big endian And if so how do I do that on an XP box Visual Studio will also do it when you Save As... and choose the drop-down arrow in the dialog to "Save with encoding..." It looks like Eclipse uses little endian, whereas textpad uses big endian (I think). Or at least I can write all my js in textpad and that works. Weird. Bad Analog wrote: Per the HD DVD spec, all JavaScript files must be UTF-16, Big Endian (with BOM). XML files can be UTF-8 or UTF- ...Show All
Namza Markup Performance
I wrote a complete menu (including scrolling chapter menu with rotating images) in pure markup. The XMU file has in total about 1500 lines. Unfortunately I notice that it runs quite slow on HDiSim and in Players. Are 1500 lines too much for xmu Meanwhile I found the reason for my markup being so slow. Wasn't the 1500 lines. It were just two little <style select="//button" ...> statements ;-) I fixed it and now it looks very fluent and nice. 1500 lines should be OK, some released titles have more than twice. Although, performance may vary depending on content. The markup performance can substantially improve ...Show All
S_Parikh About ShutdownObject() of IMFActivate.
I have made OriginalSink and implemented IMFActivate, I could create instance of mySink in the PMPProcess. When the PartialTopology was sent to PMPHost, ActivateObject() of mySink(IMFActivate) was called from PMPSession. And then I have two questions. 1. Although ActivateObject() of mySink was called from PMPSession, ShutdownObject() of mySink was not called from PMPSession . This is why 2. When PMPSession was called Shutdown(), Shutdown() of mySink was called synchronously. And mySink shut down myStreamSink. Is there any problem about that ShutdownObject() has never been called Hi Becky! Thank you for your answer! I ...Show All
anubisascends Gadget close/settings/move icons are incorrectly placed after Sidebar is reloaded
Just a minor observation, but one for the MS fix list: The three (or two if you have no settings) icons that appear when you hover over a Gadget are incorrectly placed for detached Gadgets after Sidebar is reloaded. They're shifted left 6 pixels. To reproduce this: 1. Add the Calendar Gadget 2. Detach it from the Sidebar 3. Exit Sidebar 4. Load Sidebar 5. Hover the mouse over the Calender Gadget You'll see the icons are in the wrong place. To correct them drag the Gadget slightly. thanks for the report! ...Show All
fewiii Can't set Focus
Hello Guys, I am new to iHD and just started to write some iHD code. Now I arrived at the first problem: <div id="main"> <div id="some_other_div_already_with_buttons" style:display="auto"> <!-- here are already some buttons --> </div> <div id="surrounding_div" style:display="none"> <button id="button" /> </div> </div> Now I want to set the button to visible and set the focus on it: document.getElementById("surrounding_div").style.display="auto"; document.getElementById("button").state.focused="true"; document.getElementById("button").state.unsetProperty(" ...Show All
Romantic_touch Multiple Sub Audio Tracks
How can I change between different sub audio tracks I have 3 sub audio tracks with different audiocommentaries where I want to switch. In the spec I didn't find any possibility to choose the sub audio track where the mixing is done. The only thing I found is Player.audio.sub.setMixing(). But I can't figure out how to tell the player which track it should use. 4.3.19.4.3 says that sub-audio track number matches currentTrack of main audio, or is 1 if there is no match. This means that (eg) if tracks 1-4 of your main audio are EN, DE, FR, JPN then you can encode the sub audio commentaries in EN, DE, FR, and JPN and they will automatically match. Here's a theory (I haven't tried it or tested it...): If ...Show All
Lauriew About the method of loading Original Sink.
Hi all! Please give me some pieces of advice on how to serialize Original Sink to MIG Process. Because the method of making general IMFActivate doesn't exist, IMFActivate for original Sink cannot be made. I would like you to teach the way of serializing original Sink to MIG Process. My Best Regards. Thank you for your answer. And I have more questions. 1. Please tell me how to implement the IMFActivate::Activate(). Only return "S_OK" 2. Should I implement all of the IMFAttributes's methods Is it useless only they return S_OK(or E_NOTI ...Show All
