Answer Questions
Andrei S. How to get "NextStateName" in Invoke event inside the workflow
In a state, there are several EventDrivenActivities, in each EventDrivenActivity, there is a HandleExternalEventActivity and a SetStateActivity, for the HandleExternalEventActivity, there is a corresponding Invoked EventHandler, I want to do something in it, and the first thing I want to get is the TargetStateName of the SetStateActivity in the same EventDrivenActivity just below the HandleExternalEventActivity. I know the PossibleStateTransitions, but it is not what I want. In a state, there are several EventDrivenActivities, in each EventDrivenActivity, there is a HandleExternalEventActivity and a SetStateActivity, for the HandleExternalEventActivity, there is a corresponding Invoked ...Show All
Thomas Greenleaf DMO with multiple input , multiple output
I want to create something like multiple input and multiple output I have made changes here class ATL_NO_VTABLE CDelay : public IMediaObjectImpl<MyDMO, 2, 2>, // DMO Template (1 input stream & 1 output stream) public CComObjectRootEx<CComMultiThreadModel>, public CComCoClass<MyDMO, &CLSID_MyDMO>, public IMediaObjectInPlace I have made changes in the buffering model @ at output side (output with 2 stream is working but not the input ) but this isnt working I donno how to place...... Suggestion r welcome regards hameed perhaps things are tricky...I'm workin with codec which needs 2 input and two output....n I'm not using any a filtergraph...so this is app ...Show All
Praveen.Yarlagadda Confusing conflict of documentation while using STAThread in WPF
Dear Members, In the documentation of WPF in : http://windowssdk.msdn.microsoft.com/en-us/library/ms743714.aspx said that I have to add System.STAThread attribute. After I have installed the Visual Studio "Orcas" August CTP, I can't find Main method in the project files, especially the App.xaml that contains the startup uri for my XAML Window. I have already checked the generated files including the App.xaml.cs, and I can't find any Main method and the class run well while I execute it. What the use of using System.STAThread attribute in WPF. Is it MTA by default like windows form application since the documentation said that http://msdn2.microsoft.com/en-us/library/system.stathreadattribute.aspx I think thi ...Show All
Marlun Howto dynamicly load a workflow from another lib
Hi, I'm trying to load another seq. wf into a seq. wf by having the calling wf requesting a manager object to return a wf that is defined in another wf lib. Is it possible Seems like everything is designtime with regards to the out-of-tha-box invokewf activity Do I need to build a custom activity> any examples Thx alot, this wf shizzle roxx Not sure this is exactly what you are looking for, but I dynamically load Workflows from a generic host and it goes something like this: private Assembly workflowAssembly; private Type workflowType; private WorkflowRuntime wfRunTime; private WorkflowInstance wfInstance; ... workflowAssembly = System.Reflection. Assembly .LoadFile(workflo ...Show All
UK_12 event with DirectX
Hi, I'm developing a windows application in c# and i use video with DirectX. I'm wondering if theres not an event that occurs while the video reachs a certain position. In fact my code is : Video vid; public Form1() { InitializeComponent(); vid = new Video ( Application .StartupPath + "\\vid.avi" , false ); vid.Owner = lblecran; vid.Play(); } i would like something to happend after 1s of the video with the video still playing. but i don t know how to do. Someone has an idea Sorry for my english, and thanx for your help, Laura. Yes, the video class does not have any property to know the playback time, but as it’s a realtime playback, you c ...Show All
Paulo Reichert Is Windows SDK final version or RC1?
The download page for the Windows SDK (publish date 4th Nov) says nothing about it being RC1, yet the license agreement (viewable on running the web setup file) relates to Windows SDK RC1 and states the SDK agreement expires 31st Dec. Can someone please clarify That's an error that was corrected on the site this morning. The license agreement was updated to be parallel with the license agreement that ships with the setup. Jason, thank you for replying, it is most appreciated. It's looking great for the SDK, and roll on VS2007! ...Show All
ThePatrickP Support for Streaming Servers ?
I am currently trying to find out if support for any streaming architecture has been implemented in the FEB2007 release; ideally the Windows Media Server WMS architecture. I would like to be able to access streaming content under any of streaming protocols ideally rtsp:// or mms://. Our architecture is setup on WMS and I am typically working with 45-90 minute recordings. Due to the limited support for WMP on Mac OS X as well as compatibility issues with the latest Intel based macs, I am very eager to be able to replace the embeded WMP with a WPF/E based player, however I need the ability to seek to random points in a file. Also in looking at the docs, WPF/E is said to support WM9, I was wondering if it will be suporting all WM9 codecs ( ...Show All
flash.tato UI Automation for automated GUI testing?
Hi! I mentioned this problem in an other topic, but I would like to start a new topic to get opinions about this. I would like to write an automated GUI tester application of sowftwares developed using WPF. I know that UIA framework is excellent for assistive technologies, bit I read that, this also should be used for automated UI testing. If I would like to record the user interactions and then replay them, is it a good way, to subscribe for various automation events then call the approiate function of the appropriate control pattern on the current AutomationEvent to replay it For example, to make it for buttons, i subscribe for InvokeEvents and then to replay I call the Invoke functions ont the current AutomationEleme ...Show All
Robert Garfinkle ezrgb24 fatal error LNK1104: cannot open file '..\..\BaseClasses\debug\strmbasd.lib'
When I am trying out the sample filter provided by DirectX SDK. The error "ezrgb24 fatal error LNK1104: cannot open file '..\..\BaseClasses\debug\strmbasd.lib'" happen. Do you know how to solve it I have included the path in tools->options->directory. And I have searched all the files in my system, but no strmbasd.lib found. How could I do and how to get the strmbasd.lib file Thanks for help. Thanks for your reply! But I didn't find the lib file "strmbasd.lib" from DirectX SDK. How could I get the lib file You must build the baseclasses sample yourself. MS doesn't ship the lib, just the source for the lib. ...Show All
Aleniko29139 Error 0x8004D00E on SQL Server 2000 + Windows 2000 SP4
We have an ASP.NET application running on Windows Server 2003 whose database backend lives in a different machine which runs SQL Server 2000 and Windows 2000 Server SP4. Whenever we try to use System.Transactions we get errors. We are almost sure that the problem is related to MSDTC refusing network connections. We tried to run the same thing using Windows Server 2003 in the backend server, and we were able to make it work by configuring MSDTC security using the COM+ console. However, we still need to support Windows 2000 for the backend. There is apparently no GUI for MSDTC security on Windows 2000, and the registry settings we have tried so far did not work. We think this should be a very common issue, but we have ...Show All
XNA Rockstar DirectShow with WindowForms
Hello, I tryed the example from http://msdn.microsoft.com/library/default.asp url=/library/en-us/directshow/htm/gettingstarted.asp as an console application and everything was fine. But now I create it as WindowsForms project with VS 2005 Pro. I added a button to Form1, which executes the samplecode. I changed in the code the "printf" in MessageBox, included <dshow.h> and linked strmiids.lib, but i get the following errorcode(sorry its in german): 1>Kompilieren... 1>hallo.cpp 1>AssemblyInfo.cpp 1>Code wird generiert... 1>Verknupfen... 1>hallo.obj : error LNK2028: Nicht aufgelostes Token (0A00000E) ""extern "C" void __stdcall CoUninitialize(void)" ( CoUninitia ...Show All
BrianH ***.wmv is not indexed and cannot be imported
I am trying to make a dvd with windows dvd maker in vista, yet when I add a .wmv, it gives me the error message: .wmv is not indexed and cannot be imported. What should I do! ! I downloaded it and opened the file I wanted indexed but when I "saved as" it tried for a few seconds but then it said: Failed to save file. Plz Help!!!!!!!!! Thanks, James Did you ever get a resopnse Or find a solution I'm having the same problem and getting very frustrated! Yes I did! I figured out that you need to install Windows Media Editor!! Here: http://www.microsoft.com/downloads/details.aspx familyid=5691ba0 ...Show All
yonelay Using smartcards in a service - SCardAccessStartedEvent
Dear all, Migrating our core development platform to Windows Vista, one of our Windows services using smartcards is failing. We have debugged the problem and found that the event provided by the function ScardAccessStartedEvent does not receive notification. This event is supposed to signal when the SmartCard Resource Manager starts. As we have a WaitForSingleObject(event,INFINITE), the service hungs. Testing the same service as an ordinary executable ( registering with -regserver ) I can see it works properly. In XP it works properly both as an executable and service. I have read something about Service Hardening in Vista and I guess it may be caused by privilege reduction. So, I've created some code to enumerate the existing ...Show All
JeffJohnsonMVPVB WWF runtime refers old workflows
Hi, I have deployed WWF in a console application(Host). While developement, i have created some un-wanted workflow for testing purpose. In this machine WWF is working as expected. Later I had to copy the project in a DIFFERENT machine with only the relevent workflows. Also I have restored the DB s - WorkflowPersistence -WorkflowTracking from the 1st machine. But as I have mentioned, I created some un-wanted WF in the 1st machine, hence after copying the project in the 2nd machine(new), workflow runtime still trying to load the un-wanted workflows. But in the new machine I never copied the un-wanted workflow. Hence WF runtime is not able to load the un-wanted workflow & giving error. I have deleted the unwanted workflow r ...Show All
N_John Need a callback per frame
I've tried using EC_VMR_SURFACE_FLIPPED to get a message on every frame but it never happens. I know I'm doing something wrong but com is so convoluted and I haven't been able to find anyone who has attempted to do what I'm doing. I just need a function call on every frame to sync the dshow frames with another library. Anyone know the best way to do this I'd like to avoid the overhead of the sample grabber copying the buffer over every frame since I won't use the data. Thanks, Jake Read this post and I think that it would help me also. All I need to for a function to be called when the frame is updated (I don't need the buffer) but I'm having a problem with setting up the callback, I want to call Vi ...Show All
