Answer Questions
Mat1t New Thread Ordering Service questions
Hello Im starting to experiment with the new avrt functions and the mcss. (i should have posted this to the Pro Audio forum since thats my main interrest, but i think the question might interrest other people) I see AvRtWaitOnThreadOrderingGroup like a nice timer, but the documentation is currently puzzling me. Both the avrt and the AvSetXX methods are in the same dll (avrt.dll), so i guess they are made to go hand in hand. While we can specify the "periods" as 100-nano increments, the docs (http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/thread_ordering_service.asp) says the minimum value the scheduller will be able to provide is 500 micros.. but is that also the granularity Is this granularity an ...Show All
Maeestro Implement a Workflow Parameters Editor
Hi, I want to implement a Workflow Parameters Editor, like the one in the 1.2 beta version. When the developer click on the "Ok" button of the editor, it will analyze if all the properties have been written, else it write them. Do you think that it is possible without writting lots of code lines Thanks for you help! This is acheivable, but not trivial. You will have to write a fairly big amount of code to parse code beside file and issue missing parameters. Using codeDom will simplify code parsing task, but will introduce additional issues and challenges. This is not easy to accomplish. ...Show All
Raihan Iqbal Assigning event handlers to methods in Activity base class
I inherit a number of custom activities from a common base class (which contains no children of its own). This base class provides event handlers for events raised by the derived classes, e.g. EDX and CodeConditions. The derived classes contain child activities which raise these events (usually as DependencyProperty events). If I try to (manually) assign a derived activity's event in the activity property window to a base class EventHandler , I get an "Invalid Value" error in VS.NET stating that a method with the same name is defined on the base class (which is kind of the point). The base class handlers are also not visible as drop-downs in the property windows (although they are scoped as public/protected). The workarou ...Show All
JGreene Error when installing my application under Windows Vista RC2 (running object table?)
Hi, I have just discovered that my installation fails on Windows Vista RC2. The installation was written under InstallShield 10.5 professional, as an "Installscript MSI project" and works properly on Windows 2000 and XP. I have recorded a log of the failure: Action ended 12:39:41: CostFinalize. Return value 1. MSI (c) (84:48) [12:39:41:188]: Doing action: SetServerDir Action 12:39:41: SetServerDir. Action start 12:39:41: SetServerDir. Action ended 12:39:41: SetServerDir. Return value 1. MSI (c) (84:48) [12:39:41:188]: Doing action: MigrateFeatureStates Action 12:39:41: MigrateFeatureStates. Migrating feature states from related applications Action start 12:39:41: MigrateFeatureStates. Action ended 12:39:41: MigrateFeatureStates. Return val ...Show All
georgeob Windows Mail: IStoreFolder/IStoreNamespace - Vista Support/Documetation
I using the COM interfaces IStoreFolder and IStoreNamespace to interface and retrieve email notifications from Windows Mail. I am receiving E_NOTIMPL from the RegisterNotification method! Any ideas if this feature is supported or has changed Thanks, Marc To be a little more specific... I am hooking into the "Windows Mail" application via a number of standard Win32 API calls ( SetWindowsHookEx(WH_CBT, ....), SetWindowLong(hwnd, GWL_WNDPROC,...) ). When the "Windows Mail" application window is activated, the IStoreNamespace object is created and initialised from within the scope of the Windows Mail application. As described in the previous post above, the RegisterNotification method fa ...Show All
omrivm Problem calling web service with more than 1 Windows Workflow at a time
I have a Web service call that is made to invoke the Windows Workflow from a Windows Service running on a server. If I run 1 Workflow at a time, it's fine, but when two are processed within a short period of time, it gives me the error objProxy_manageWorkflow ERROR: System.ArgumentException: There was an error during asynchronous processing. Unique state object is required for multiple asynchronous simultaneous operations to be outstanding. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'System.Object' Key being added: 'System.Object' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Collections. ...Show All
Hanumanth Reddy MSNETOBJLIB.RMGetLicense License storage is not working
I work for a company that provides video content protected by Windows DRM and I am encoutering some issues with delieverying licensing to Windows Vista machines. In particular, I am able to generate a license for the machine but when I attempt to install the license I get the exception below. I thought it was odd that the exception woudl tell me to call product support. Has anyone else encountered this issue Just about everytime I resort to posting to a Forum I figure out the problem myself with a few minutes/hours. My problem was that I wasn't configuruing the license into a response. This is the correct code is below. However, we are unable to deliever the license to *any* machine that was upgraded from XP to Vista Ultim ...Show All
mNilysg Utter lack of Icon documentation
I'm trying to update an application to be nice and Vista-y; the current problem is with icons. What icon sizes should my application have to be Vista+XP compatible. How can I tell In particular, why doesn't Microsoft actually documentation the icon file format As near as I can tell, there are single-byte 'height' and 'width' values in the list-of-icons in the icon header. This means that icons can only be 0 to 255 pixels. However, it seems that icons in Vista can in fact be 256 pixels, so clearly there isn't a simple mathematical relationship between the value in the file and the value used. My question is: what is the mathematical relationship between the height and width fields and the actual icon height Are they just set to zero, bu ...Show All
FcoLomas Am I running with latest WWF?
Hi, Before I highlight the problems that I am facing in WWF, I just wanna know whether my PC has the latest version of WWF. Here are the details what I see in my PC.I have installed Windows Workflow Foundation Runtime Components Beta 2_2(EN), Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2(EN). The assembly versions I found in my PC are: System.Workflow.Runtime 3.0.0.0 & Microsoft.Workflow.VSDesigner 3.0.0.0 thanks. The latest WF release is included with the .NET FX 3.0 RC1 release: http://www.netfx3.com/blogs/news_and_announcements/archive/2006/09/05/5479.aspx ...Show All
raq Getting the value from controls in Credential Provider
Hi, I would like to ask how to retrieve or get the user inputted values in the controls such as textfield, password, combobox, checkbox A workaround I managed is using the set* functions like SetStringValue and monitoring the FieldID to determine the particular control and storing the pwz paramter into another variable (global). Is this really the correct way or is there a simpler way.. like maybe TextBox1.Text Also, is the WinLogon in Vista and XP still the same Are the functions like WlxDisplaySASNotice still available or in another form completely Thank you very much! Thanks for your reply. Yes, I meant member variables. However, I just realized that I was working on the wrong p ...Show All
Allah Is Here messanger
hi, i would like to launch msn messanger , word applications from application which i am going to develop Does window mobile sdk provide any Api to launch those two applications device type: smart phone ie motorola Q phone Regards This forum is for questions about developing applications on laptops and Tablet PC's that are running Windows Vista. You may also wish to post your query to Pocket PC forums: http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=11&SiteID=1 Thanks! ...Show All
jk_0321 External Events, ThreadPool and WaitForIdle
Hi, Given: stateMachineWorkfow, which waits for some external events that are being sent to it via ExternalDataExchangeService. The service code contains something like: public event EventHandler<ServiceEventArgs> FireEvent; void TestFireEvent { ThreadPool.QueueUserWorkItem(delegate { if (FireEvent != null) { FireEvent(this, args); } }); } where ServiceEventArgs have 'WaitForIdle' property set to 'true'. Such a code makes the workflow runtime to wait till the workflow becomes idle, before delivering the event. Therefore the thread in the thread pool may be waiting for quite a long time, because we can not be sure if the workflow will become idle fast enough. This leads to potential problems because t ...Show All
Andy Mueller Custom Human Workflow Activity
I am in process of developing my own human workflow activity by extending Activity base class. But there is one scenario that I am unable to solve. Let us suppose we have 2 different human steps in a workflow process, say step A and step B. The workflow gets routed to human step B after completion of human step A. Depending on some business rules I should be able to reactivate step a. How can I achieve this The default activity automaton does not allow an activity to be brough back to Execution status when it is already closed. Thanks for all the help in advance. Bala Hi, I am having the exactly same design issue here. In an approval workflow example, other than approve or reject, we give an option or requesting mor ...Show All
forrestcupp Unwanted Yellow tint in DirectX-VMR9-Application
Greetings everybody, I customized the VMRAllocator9-Sample from the newest Platform-SDK to project a Video-Texture on a Geometry supplied by me. I used to compile it with the nmake-Tool, as MS does not deliver a MS-Studio Project, and everything works fine that way. I set up a Project by myself for better comfort in VS8, copied all the Files and had quite a hard time resolving all the missing libraries and External Symbols for the Project to compile properly. The point now is that despite it compiles without errors and even displays the Video on my Geometry, the whole Video (and also Bitmap-Textures) is tinted Yellow. It seems like the Program misses the Blue-Channel, letting Blue Color out and displaying only Red and Green. I have no clue ...Show All
Ramanuj Is there an activity to create a child workflow?
WF Gurus, I need to correlate parent and children workflow(s). What is the best way to do this I need to have a parent workflow call child workflow(s) and use the data from WorkflowCompleted events of the children to continue processing. Is there an activity that can create a Child Workflow What is the best way to call a child workflow from a parent workflow Thanks in advance, JP Change the Type parameter, on CallWorkflowActivity , to instead take the path to the xoml file, or an XmlReader, and add a parameter to do the same thing for the rules file. Then update the call to CreateWorkflow, in CallWorkflowService .StartWorkflow, just like you have been doing. Tom, I think that I need to use InvokeWorkfl ...Show All
