1. Unable to run "Encoding a File (C++)" sample from Encoder SDK
I copied the "Encoding a File (C++)" sample from the Encoder SDK documentation and built a win32 console application. It builds okay but but fails on the call hr = pEncoder->PrepareToEncode(VARIANT_TRUE); with the error, "Invalid Address specified to RtlFreeHeap( 01580000, 03C10340 )." It will never return from this call. This is pretty deep in Microsoft code. I noticed one other post ,about 2 months ago, with this same problem but nobody ever posted a solution. Has anybody got this sample to work? If so, what did you do? Does anyone from MS recognize the RtlFreeHeap error or the failing address ntdll.dll!7c901230()? What's going on? Thanks! Here's the stack trace at the time of the user breakpoint (int 3) in MS code: ntdll.dll!7c901230() ntdll.dll!7c96c943() ntdll.dll!7c96cd80() ntdll.dll!7c96df66() ntdll.dll!7c96e0f0() ntdll.dll!7c96e0d4() ntdll.dll!7c94a5d0() ntdll.dll!7c96e0d4() ntdll.dll!7c94a5d0() ntdll.dll!7c926abe() msms001.vwp!0331e875() msms001.vwp!0331eef9() ntdll.dll!7c919551() ntdll.dll!7c9268ad() ntdll.dll!7c926abe() ntdll.dll!7c9268ad() ntdll.dll!7c91056d() kernel32.dll!7c809f8a() ntdll.dll!7c96e297() ntdll.dll!7c94bbfb() ntdll.dll!7c919551() kernel32.dll!7c8399f3() kernel32.dll!7c809f8a() vct3216.dll!015229cb() kernel32.dll!7c809f8a() msms001.vwp!03327b68() msms001.vwp!03312423() msms001.vwp!03327539() msms001.vwp!0331fcf7() vct3216.dll!01524326() vct3216.dll!01527102() vct3216.dll!01524699() vct3216.dll!01515b1e()
2. Cannot compile DirectX SDK Samples or tutorial samples - Visual Studio .NET 2003
3. DX8.1 DirectInput samples and Vista RTM: C++ compiled samples work on Vista, VB samples don't.
I'm wondering whether anyone else has seen this problem. I've been using DirectInput programming with VB successfully on Win98SE to WinXP. With the DX8.1SDK came VB and C++ examples and I've based some of my applications on the VB examples. Testing my apps now on Vista RTM, they're failing. I've tried the samples that ship with the DX8.1SDK and taking the Keyboard DirectInput example, the C++ exe in the bin folder works fine, but the VB compiled sample does not. It generates a " Run tiume error 429 ActiveX component can't create object" error. DirectInput didn't change between DX8 and DX9 and so there shouldn't be an issue between those versions. Does anyone have any solutions to this problem? I'm not a C++ programmer so reauthoring my apps in C++ is not an option for me. But they should work as is ..... Thanks in advance for any help, James
4. catch more AuthEvent in WMS9 sample "WMS SDK Sample Authorization Plugin" - Windows Media SDK
5. Saving compressed samples and uncompressed samples to a file,
Rubing, The problem, most likely, is that even if both segments of the stream are compressed to the exact same format, they're not compressed by the exact same _instance_ of the video codec. This matters, because the only way to ensure that the stream actually fits within the bitrate and buffer window specified in the profile is to have one video codec encode the whole thing. What is likely happening in your case is that your samples are overflowing those parameters near that junction point, and some frames therefore are getting dropped. Here's what I suggest: First encode your uncompressed data into a temporary file. Then, using your temporary file and the file with the compressed data, you can write the compressed samples to your final output file. For this final output file, you will need to set the buffer window equal to the sum of the buffer windows for the temporary file and the compressed input file. This is important, since this is what will allow you to avoid the problem you were running into. Becky This posting is provided AS IS with no warranties and confers no rights. "Rubing Chiu" wrote: > The profile is the same to the input file and output > file. So, we can write compressed data from input file > to output file. > > However, we forced the problem described in my previous > post. :-( > > Anyone has a solution for my problem? Please help... > > >-----Original Message----- > > > >I don't think you can do that. All audiences must use > the same video codec. > >So even if you set up seperate profiles and 2 audiences, > it is not permitted > >unless both video streams are either compressed (with > the same codec) or > >uncompressed. You should write to a new file, or make > them in the same > >format. > > > > > >. > > >
6. catch more AuthEvent in WMS9 sample "WMS SDK Sample Authorization Plugin" - Windows Media Service
7. Distributing sample VS .Net 2003 Smart Device project samples
Hello, I'm a developer of a SDK for a CE smart device using Visual Studio .Net. I wrote the SDK in C# and it compiles into a DLL. Obviously the goal of this DLL is to be used by other developers so that they can develop applications and make use of our hardware. First of all, I needed to create a way in which they could get to the .Net DLL without copying the .Net DLL along with their CE Application. I wanted to prevent the developer from having several copies of .Net DLL lying around (they may make several CE Applications). So on the device I am registering the .Net DLL in the GAC. That works fine, and sample applications I create will find the DLL in one central location .. sharing achieved. My problem is that I have five Visual Studio projects that I want to distribute as samples using the .Net DLL I created. I am at a loss on how I set this up for a target development machine. The only way I can seem to get my sample app to work is to specify a location to my DLL during design time. The problem with this is, my .Net DLL location is obviously going to be different on the target development machine. I've tried registering the .Net DLL into the GAC of the target development machine, but the project still complains that it can't find the DLL. Does anyone have any idea how to get around this? I have a feeling that I'm overlooking something very simple here. Thanks in advance. -Ryan
8. Can I use speech api sample(\public\speech\sdk\sample\cpp\talkback - Windows CE