For those of you who missed the chat today, here is the raw transcript. By raw, I mean that I copied and pasted the discussion without any edits. This is divided into two parts, the top part is the answers from the Microsoft Experts and the bottom part is the discuss (questions) from the audience.
Sue Loh [MS] (Moderator)[12:02]: Hi, I’m Sue Loh, a developer in the Windows Devices Core team at Microsoft. I work on the remote tools team, and have previous experience with the kernel and file system. I’m also moderating today’s chat. I hope we can answer some questions for you today!
Sue Loh [MS] (Moderator)[12:04]: Hi Gomas, I'd like to ask you to check "ask the experts" when you post a question... That helps make sure our chat tool tracks the question and can't drop it.
Q: [1] Power Manager requires the driver to support multiple open ?. Is there any direct way to restrict the access in such a way that, allowing power manager to access, but restricting other applications from simultaneous access ?
Q: [3] I am trying the power manager with CEPC.I tried with suspending my device, but the display is not going to suspend mode. but the log says calling Oem power off.
A: If you are using the default flat vga driver, it will not do any specific power management of the display. You should augment whatever driver you choose to use to place the display into a suspended state. This may involve I2C commands to a EDID display if the display does not go into power-save mode automatically.
Q: [2] Who or where would I go to get an answer about IE8
Q: Thank you
A: .
A: .
Q: [5] Thank you
A: Welcome
Q: [4] Hey Sue, do you have any example code for CeRegGetNotificationInfo()? I have been trying to get it to work, and after too much time I think that I have found that it only returns data from changes to the watched key but not from any of the sub-keys.
A: Howdy Bruce, ugh I wish, I have been procrastinating on writing some of my own code using that API. What you say rings a bell, though... I will see if I can get you a definitive answer on whether that works for sub-keys or not.
Q: [6] Are there any tutorials or other resources for the Windows Mobile Test Framework?
Q: [6] Are there any tutorials or other resources for the Windows Mobile Test Framework?
Q: [8] That means while selecting suspend, "calling Oempoweroff" is the correct behavior. This is the last message in found in the log.
A: (Answered by Bruce Eitman): Gomas - that is correct the last thing that happens is OemPowerOff is called. Before that though, the drivers are called to power off their devices. You will probably need to add code that is specific to your hardware to handle suspend.
Q: [4] Hey Sue, do you have any example code for CeRegGetNotificationInfo()? I have been trying to get it to work, and after too much time I think that I have found that it only returns data from changes to the watched key but not from any of the sub-keys.
A: Bruce, I think you're right, CeRegGetNotificationInfo will only work on the key you opened, not on sub-keys. You'd have to open a new notification handle on each sub-key to get CeRegGetNotificationInfo to work. :-(
Q: [11] Is there any documentation regarding the Windows Mobile Test Framework as supplied with the Windows Mobile 6 SDK?
A: Paul the CETK will work w/ the Windows Mobile Device they both are using Windows CE.
Q: [13] This question may not be up your alley - but do you have any idea or timeline info when the Silverlight for Mobile is planned to be made available? At least in a CTP form
A: This forum is for chat on released features only.
Q: [7] hi experts,
are there any experiences or best practices in using platformbuilder 6.0 with Team foundation server for developing BSP. While I think that it should be possible to integrate pb with MSBuild i expect problems with the directory layout.
A: By "with team foundation server" are you talking about using TFS to build? You should be able to install PB6 into any flavor of VS, but you probably can't use all of the TFS features on the Windows CE code.
Q: [14] Are there any resources for Windows CE Dump Viewer which would help diagnose problems while viewing KDMP files?
Q: [10] Hi experts, I experinced a problem while setting a default Registry value of type DWORD (@=) . the build process fails (Regcomp). It seems that only string default values are supported. Do you have any ideas or workarrounds?
A: Yeah, regcomp expects the default @ to be a string. The only real workaround is to use a named value instead of @.
Q: [12] Hi experts, I know there are issues when using PB 6.0 under an 64bit OS. Are there any plans to solve this isues?
A: I wouldn't hold my breath waiting for any updates to PB6 to fully support a 64-bit OS. That said, my understanding of the situation is that it "works but is unsupported." Meaning our test team hasn't spent any time validating on 64-bit, but it should probably work. If it was ME, I hate answers like that, and would use 32-bit rather than take a risk.
Q: [9] Is there any size limitations on the size of the user application and using the remote debugger?
Q: [14] Are there any resources for Windows CE Dump Viewer which would help diagnose problems while viewing KDMP files?
A: To get you started, after you've "attached" to your dumpfile, perform a "!diagnose all" in the Target Control Window.
Q: [18] [7] Sue- yes I mean TFS to build. Don't you think the directory layout which is used by TFS Source Code Control is incompatibel with the layout which is expected by PB?
A: To be honest I know nothing about TFS source code control. If it requires a specific directory layout, then probably it is incompatible. Sorry, "TFS" is so many things (In my team we use TFS but not for source code control, we use it for work item tracking only, more like MS-Project).
Q: [20] Are there any plans for a managed implementation of DirectShow for Windows Mobile?
A: We only talk about released features in this chat session. DirectShow is C++ & COM but you can write C# wrappers to provide an abstraction layer.
Q: [19] [10] Sue- but what if it has to be a dword value (like AutoHide of the taskbar)?
A: People are often sloppy when mentioning registry keys/values. Are you sure you're talking about a key and not a value? Maybe instead of HKLM\Foo\Bar\AutoHide you're talking about [HKLM\Foo\Bar] "AutoHide"
Q: [19] [10] Sue- but what if it has to be a dword value (like AutoHide of the taskbar)?
A: (oops sent too early) I meant to say, instead of
[HKLM\Foo\Bar\AutoHide]
@=dword:1
you're talking about
[HKLM\Foo\Bar]
"AutoHide"=dword:1
Q: [21] Under Windows CE 5.0 we create a 32 bit DIB and use the GDI functions to render text output. We have observed that a GDI operation will always set the alpha component of a modified pixel to zero. Is this desired GDI behaviour?
A: There are several issues with alpha channels + GDI in CE 5.0 and 6.0. I haven't heard of this specific one before but often 32-bit DIBs are treated as 24-bit and the alpha channel is discarded. It's not the desired behavior, but it's likely you would need to open a support request to get it fixed.
Q: [20] Are there any plans for a managed implementation of DirectShow for Windows Mobile?
A: Searching CodePlex found a Embedded Media Framework project that you want want to monitor http://emf.codeplex.com/
Q: [22] 1) A while back we reported an issue with Platform Builder and the creation of PBPXML files for display drivers. The issue was confirmed by Microsoft, namely the the PBPXML files makes adds the display driver to the project bu the item always shows up as
A: Looks like your question got cut off, can you continue it?
Q: [17] Is there any other video encoder available in Windows Mobile 6.5 other than wmv encoder? Because the perfomance of wmv encoder is too low(less than 5FPS in VGA)
Q: [15] What is the normal procedure in handling power ioctls in PCI device drivers
A: Typically IOCTL_POWER_SET / IOCTL_POWER_GET are implemented in each driver. Typically when your device is requested to go to D4 via IOCTL_POWER_SET, you turn off as much of the device as possible. D1 typically indicates there has been no user activity for a period of time, and D2 indicates there has been no system activity. D3 indicates a suspend state. Depending on the device and what it does, you may handle these differently according to the needs of your device.
Q: [16] Is there any way to share the c++ arm compiler fixes (from Windows Embedded QFEs) into VS2005 (which are required by application developers)?
A: Prabu - There are several levels of code sharing available with Windows CE. Please talk w/ your Embedded Sales Contact and they can provide information about how to get access to additional source. http://www.microsoft.com/embedded
Q: [27] Would this be a good place to ask CETK, LTK questions?
A: We should be able to give some answers on CETK, but I don't think we have the expertise here to answer LTK questions, that is more of a Windows Mobile issue and we have limited Mobile resources on the chat.
Q: [25] [19] Sue- Yes I mean the variant (Although the key in the real CE OS is named different)
[HKLM\Foo\Bar\AutoHide]
@=dword:1
A: Okay, I even looked it up to double check, and you're right, someone DID make a default value that's a DWORD for this case. I also checked the regcomp code and it absolutely expects @ to be a string, not a DWORD.
Q: [23] Hi experts, I'm trying to load CE on a Marvell Zylonite board and it seems to hang in KernelInit. Since I can't set a software breakpoint this early, do you have any recommendations for tracking down which of the calls inside KernelInit is failing?
A: Gary, do you have the necessary source code to rebuild the kernel in private\winceos\coreos\nk\kernel ?
Q: [25] [19] Sue- Yes I mean the variant (Although the key in the real CE OS is named different)
[HKLM\Foo\Bar\AutoHide]
@=dword:1
A: (Argh the lack of SHIFT+ENTER in this tool kills me)
One possible workaround might be to use "" instead of @, e.g.
[HKLM\Foo\Bar]
""=dword:1
If that doesn't work, there might not be a way to do it. :-(
Q: [28] Is there any way to share the PB ARM compiler qfe's with the compiler deployed with VS2005? We have a compiler optimization bug in VS2005 which seems to have been solved with the PB QFE's.
Q: [26] Is there an official way to turn on/off "flight mode"? How about making the source code to Connection Manager available?
Q: [31] 2) The information we have to get our driver code packages added to the official Microsoft lists seems to be woefully out of date. Where do I go to find current information regarding getting Windows Mobile driver information published?
MSFT-davbo (Moderator)[12:50]: Our experts are catching up on existing questions; we welcome you to continue submitting your questions.
If you’re just joining us, welcome to today’s chat regarding Windows Embedded CE 6.0! Your questions, comments and feedback are welcome.
Just a reminder that to post a question for our experts, please remember to check the “Ask the Experts” box. Checking that box ensures that our experts will see the message and cannot forget it. If you don’t check it, our experts may not see your message, due to the chat tools we use.
Just a reminder that to post a question for our experts, please remember to check the “Ask the Experts” box. Checking that box ensures that our experts will see the message and cannot forget it.
After you post a question with "Ask the Experts" once, we'll have it in our list and it cannot be missed or forgotten.
Your questions, comments and feedback are welcome.
We’ve got about 10 minutes left in today’s chat concerning Windows CE.
Q: [30] part of the ROM?
A: The major difference that comes to mind is that updates to the ROM may overwrite the registry that you added.
Q: [32] Is there any diff between adding driver as part of ROM image and installing driver in the already WM running device?What will be the status of the bib entry flags for the installed drivers?
A: The .bib entry flags govern drivers that are in ROM, since your driver is in not in ROM, it won't have a .bib entry.
Q: [32] Is there any diff between adding driver as part of ROM image and installing driver in the already WM running device?What will be the status of the bib entry flags for the installed drivers?
A: Can you explain what .bib entry flags you're concerned with?
Q: [34] Hi, is there a way to test the USB Host controller tests in CETK with out the NE2280 usb board
A: Don't believe there is an easy way. You need some way to deploy the test code onto a USB function device.
Q: [33] DamianB and Harry - you are welcome - you have a very good question that I hope gets answered. Let me restate it, again. The ARM compiler has been updated in PB, but not in Visual Studio for application developers. Can it be updated for app devs also?
A: I'll try to answer this one. I think the compilers actually ship with the SDK, not with VS. (VS ships with a few SDKs, but the compilers are tied to those instead of tied to VS.) I would not expect any compiler updates for previously shipped OS'... The SDKs would probably intentionally ship with the compilers that were used to build that version of the OS. I might be out of the loop here, since I don't work on our SDKs, but I would not expect to see new compilers. Any *new* SDKs that might be forthcoming would always ship with the latest compilers however.
Q: [34] Hi, is there a way to test the USB Host controller tests in CETK with out the NE2280 usb board
A: ... In theory, I suppose you could write your own client loopback driver for a different USB function device, but as Travis said, I don't believe there's an easy way.
Q: [23] Hi experts, I'm trying to load CE on a Marvell Zylonite board and it seems to hang in KernelInit. Since I can't set a software breakpoint this early, do you have any recommendations for tracking down which of the calls inside KernelInit is failing?
A: For the log's purposes, what I'm having Gary do in private chat is rebuild the kernel and turn on debug zones. This isn't something you should do unless you are an expert, but it is one of the few ways available to you to debug very early boot problems when bringing up a hardware platform.
Q: [35] Hate to nag you, but when can we expect the chat transcripts page to catch up? Last one is soon to be a year old.
A: This is my fault, and I intend to fix it ASAP. I had all the transcripts out on a hard drive I haven't had access to for the last month and a half, but I just got it. I will commit this to you: in the next 2 days I will process all the transcripts I have, and give them to the MSDN people for posting. They might take a few weeks posting, but I'll nag them about it. And by next chat that means I could send you a Word doc with the transcript if the MSDN people aren't done. OK? Sorry. :-(
MSFT-davbo (Moderator)[13:01]: Hello everyone, we are just about out of time.
Thank you for joining us for our Windows Embedded CE 6.0 chat today!
A special thank you to the product group members for coming out.
The transcript of today’s chat will be posted online as soon as possible, to <http://msdn.microsoft.com/chats/transcripts/default.aspx>;. We’ll see you again for another chat next month. Please check <http://msdn.microsoft.com/chats>; for the list of upcoming chats.
If you still have unanswered questions, let me suggest that you post them on one of our newsgroups, such as Microsoft.public.windowsce.platbuilder.