Answer Questions
AustinMcElroy GrpahEdit records fine, corresponding code does not
I have got DirectShow running nicely for viewing a standard webcam video stream. The graph is registered so GraphEdit sees it-- here is a summary: capture filter(Logitech web cam) -> Smart Tee -> Capture branch-> MUX -> File writer -> Preview branch-> Video Renderer However, when I capture the stream and save it to an .avi file, the file is unreadable. The strange part is that if I use GraphEdit to remotely see the DirectShow graph and then run the graph via GraphEdit, then the .avi file is fine. The properties page of the good (GraphEdit written) file shows a framerate while the one run directly from code does not (all other parameters such as size, resolution, compression format ...Show All
Bloom326984 Microsoft.DirectX.AudioVideoPlayback.Audio - File LOCK
This is interesting and I really need some help please. While using this namespace to play an mp3 file, one might call this method. audioPlayer = Microsoft.DirectX.AudioVideoPlayback. Audio .FromFile(fileToPlay); You would then just call audioPlayer.Play(); Here's the problem: This object does not support playing a file from a memoryStream, but a physical file. So if your media is in a database for example, you must write the file to the hard drive and then play it. So far so good. However, once that file has played through this object and you direct it to play the "next sound", you CANNOT delete the first one! DirectX seems to keep a handle on the file you created. Thus, in a multi-sound application the temporary files ...Show All
noname2513788 Official Release Candidate
http://www.microsoft.com/downloads/details.aspx FamilyID=19e21845-f5e3-4387-95ff-66788825c1af&DisplayLang=en For this, you will need the RC5 version of the Microsoft Visual Studio 2005 Extensions for Windows Workflow Foundation: http://www.microsoft.com/downloads/details.aspx FamilyId=E8232F93-48F0-4E74-B09D-B51F1D4231A4&displaylang=en here is what I did : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=693261&SiteID=1 Serge ...Show All
Rush hour fullscreen exclusive mode with VMR9
I'm a bit confused on how to go about implementing a fullscreen screen exclusive mode custom allocator presenter with VMR9. The VMR7 samples I've seen do a " CoCreateInstance(CLSID_AllocPresenterDDXclMode...) ", then go on to configure this ready to go allocator presenter. The documentation on the MSDN about this says " This topic applies to the VMR-7 only. In the VMR-9, you enable exclusive mode by supplying your own exclusive mode allocator-presenter. This is relatively straightforward if you use the IVMRSurfaceAllocatorNotify9::AllocateSurfaceHelper method. The VMR9Allocator sample shows how to implement a custom allocator-presenter.". I do already have my own VMR9 allocator-presenter, based on the VMR9A ...Show All
Dnieto23 Service With a Window
I have a service application which contains an user interface. But in Vista we can't have services with interface. So, i have separated interface and Service part. But i need to communicate between these two parts so that settings changed to Interface part gets applied in Service and Vice-versa. What should i use for the communication I have looked on WM_COPYDATA, Other Window messages which does not seem useful here. I looked in IPC mechanism of NamedPipe, Sockets, Mailslots, SharedMemory, etc but which one willbest suit for me My interface will always be running and hidden, so using switch user we can have more than one instance of my interface running at the same time. Please help me out Regards Kumar ...Show All
Kailai Installation of Setup Analysis tool in Vista
How to install SAT in Vista RTM It is asking for the location and filename for the installation control file. what is it Microsoft Application Compatibility Toolkit 5 is not compatible with Vista. SAT is part of Microsoft Application Compatibility Toolkit 5. Hi VikasAgr , Final version of ACT is available now. You can download from http://www.microsoft.com/downloads/details.aspx FamilyID=24da89e9-b581-47b0-b45e-492dd6da2971&displaylang=en . SAT is not supported on Window Vista, so that you can not install SAT on Vista. SAT is now GUI mode there fore you will not hite any problem to installe. You are using beta version ACT. In this case you need to do following steps to install SAT. 1. ...Show All
leozworld Exception on raising an event
Hello, I'm developing an example project very similar to expense reporting (lab01), with two event handlers. I can fire the first one (submitted event) without any problems, but when I try to raise the second event (reviewed event) I get an exception that sais: "EventDeliveryFailedException was unhandled" and the message is "Event "RevisatCOF" on interface type "WorkflowValidacio.Interficie" for instance id "ef46e5fa-64c7-4343-9d3c-c62b829f9c37" cannot be delivered." I followed exactly the example in expense reporting, so I have the event declared in my interface and in the implementation class, and I raise the event like this: RevisatCOFEventArgs e = new RevisatCOFEven ...Show All
Lita123 Cannot uninstall WinFX Beta2 (April) error 1603
Greetings. I have problem uninstalling the WinFX 3.0 Beta2. This is the latest beta before the current (June CTP) so I think it is Beta2 April CTP. I try to uninstall from Control Panel, and get this error: [06/26/06,09:50:58] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [06/26/06,09:51:22] WapUI: [2] DepCheck indicates Windows Communication Foundation Beta 2 is not installed. [06/26/06,09:51:22] WapUI: [2] DepCheck indicates WinFX Runtime Components 3.0 - Beta 2 was not attempted to be installed. Ok, so it seems that I didn't have WCF installed , therefore I cannot uninstall WinFX So, I try to fnid the WCF Beta2 ...Show All
rad9k Problem creating com instance when not running as admin
I have an application which is using a com object written in c#. When i run my application as admin, everything works as intended. However, when I run my app without admin privileges, it seems that the application cannot create an instance of my com object. Does anyone have an idea why this is happening ...Show All
ReyCri Workflow state serialization to XML
Hi all! Does anyone know how a Workflow instance state can be persisted to a format that is different from the default binary format (the SqlWorkflowPersistenceService uses the WorkflowPersistenceService.GetDefaultSerializedForm() to serialize workflow state). We use a custom OracleWorkflowPersistenceService and currently we use the WorkflowPersistenceService.GetDefaultSerializedForm() to write the state information to an Oracle BLOB column (is analogous to the 'Image' type in SQL Server). However, it would be interesting if the state couldbe stored in a readable format like XML. The reason is that Workflow types (.NET Classes) can evolve over time (properties can be added or removed) and as such the serialized state could become 'incomati ...Show All
Muhammad Mohtashim Jangda Workflow Foundation (.Net 3.0) official release - What's changed?
Has anyone run across a document that details the changes in the workflow foundation from the September CTP to the official release Thanks, Don There is a document on the community site that outlines changes from the beta 2.2 version to the RC (and RTM) versions. You can find that here . Specifically, there are no changes between what was in the September CTP and the release version. Let me know if you have any other questions! If you look in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0, you will find the Workflow DLL's to have the same July date as the Sept CTP I think. So I don't think anything has changed, though of course I have no inside info. ...Show All
The WB How to pass parameter in ManualWorkflowSchedulerService
when using WorkflowRuntime.CreateWorkflow, there's a overload, so that we can pass some parameter to workflow but, in statemachine workflow, if an instance already exists we use ManualWorkflowSchedulerService to RunWorkflow how to pass the paramter To answer you first question, even if you are using the ManualWorkflowSchedulerService.RunWorkflow, you still need to create the workflow using WorkflowRuntime.CreateWorkflow. So you can still pass the parameter the normal way. For your second question, parameters passed to a workflow are mapped to properties on the workflow that can be accessed by any of its children activities anytime during the lifetime of the workflow. Up ...Show All
enric vives LAN Driver problem
Hi all. Finally yesterday finished downloaded Vista x64 Ultimate for my pc, it is build 5600 rc1. Upon getting into vista and being very impressed with what ive seen i started to install the drivers and such, now i couldnt install the drivers using vista so i set the compatibility for Windows XP SP2 and the drivers installed fine Unfortunately under the network area in vista it says unidentified network and the onboard lan cannot connect to my router. whenever i try to renew my ip address nothing happens and the private 169 address is given to the adaptor. Im using an Asrock 939Dual-SATA2 - This has a ULi M1695 chipset. Does anyone have an idea where a vista compatible driver is for this chipset Any help appreciated! ...Show All
Adam J Friedman VMR9 Filter add input dynamically when it works or paused??
Now, I use vmr9 blend two asf stream successfully,but i want to input these two stream at different time;For example,I create a graph connected to VMR9 input0 Pin,and then the graph run;when it run, i create another graph and connect to VMR9 input1! Now I firstly paused the graph and create another graph then connect to VMR9 input2,Run the whole graph chain,but the second stream dosn't show! any body know how to implement this function and VMR9 filter support add input dynamically,thanks in advanced! ...Show All
SDyke WPF/E Export: Text as Path, how to change?
Hi, why isn't it possible to export text as an WPF/E XAML Text element. I currently get all my text exported as a path instead. I'm missing something Michael I'm assuming you're talking about the Expression Designer again. I think the reason you're seeing that is because Expression Design is really for creating graphics, not neccessarily for doing things like what WPF/E is used for. Think of it more like Paint rather than Word. What we really need is for Blend to support WPF/E. :) We're currently working on improved tooling for WPF/E and I realize it's painful where we are today. The workflow I usually use is to do the rich graphics in Design then switch to Blend for the WPF/E XAML (incl ...Show All
