Answer Questions
reedcbr Processes launched by IExpress strangely fail in Vista: any idea?
We use the Microsoft's IExpress to package several executables into a self-extractable installer package. The self-extractable installer extracts two EXE and then launches them. There is something very strange happening when the self-extractable IExpress-generated installer runs on Vista. It correctly extracts the executables but one of them fails strangely when launched by the IExpress-package. The failing executable is a Visual Studio-created C++ application. Failures happen very early into the execution. WinAPI calls such as ::LoadCursor, ::SHGetFolderLocation fail before the WinMain is even entered. These calls happen during static data initialization of C++ application. At the same time the executable works perfectly well when launche ...Show All
Amit Vasu How to call webservices in a workflow in an asynchronous way
Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. Hi matt, How are u . According to your response " In your class library, have a method like StartCall(parameters) which begins the asynchrnous call to the web service and sets up the delegate to be called when the serv ...Show All
Butterflyangel02 Statemachine WF Tracking Problem
Hello! I have made a StateMachine WF and I would like to track some Data from it. I am using the sqltracking and sqlpersistance Service. The tracking, how I used it, worked fine with Sequential WF but when I make the same change to the StateMachineWF Tracking profile I get an error message when I try to access the ActivityEvents property from the SqlTrackingWorkflowInstance I got an exception and an error massage: Data is Null. This method or property cannot be called on Null values. Is there anything wrong with my tracking profile When I use it, the Data is stored in the tracking store, but I my instances of the class: SqlTrackingWorkflowInstance get corrupted. Any Ideas < xml version="1.0" encoding="utf-16" stand ...Show All
Trevor E Hilder Vista Master Volume Control with C#
Hi, I have write a class wrapper to Vista API audio functions to control the master volume (level and mute). All functions of IAudioEndpointVolume Interface apper to work ok except the SetMute function. The problem apper to be the parameter pguidEventContext of type Guid. If I set the following value : Guid nullGuid; nullGuid = Guid.Empty; int retVal = iAudioEndpoint.SetMute(true, nullGuid); I obtain the error "value dows not fall within the expected range" while executin the SetMute function. If I set a different guid value I obtain the error "exception from HRESULT : 0x88890004" (error inside the COM library). All other functions work ok with null guid. Only the SetMute fun ...Show All
GoDaddy A compiler error in developing a "Master volumn control"
Dears, I want to develop a program to control the master volumn in Vista ,but got some problem. My development environment as bellow: OS: Windows XP SP2 Tools : VC++ 6.0 with MFC SDK: Vista Ver.6000 The VC++ setup: "Tools\Option\Directoies\Include files" as bellow: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\INCLUDE C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE D:\MICROSOFT SDKS\WINDOWS\V6.0\INCLUDE D:\MICROSOFT SDKS\WINDOWS\V6.0\VC\INCLUDE Precompiler headers: use stdafx.h The example code: #include "stdafx.h" #include "MasVol_Ctl.h" #include "MasVol_CtlDlg.h" #include <MMDEVICEAPI.H> ... BOOL CMasVol_CtlDlg::OnInitDialog() { IMMDeviceEnumerator *pEnum = NULL; ... ...Show All
Eduardo D DVDR-DL fails on write from data, but not from image
Using the imapi2sample, I get an E_FAIL from IDiscFormat2Data::Write() when trying to burn some files to a DVD+R DL (e.g. imapi2sample.exe -write c:\users\raptor2lavbb8\AppData\Roaming\temp\burn ) It works ok with other media types and works ok to DL on other drives. So, how can I further diagnose what the problem is (beyond E_FAIL) That is exactly what I gave you in the original post! :-) imapi2sample.cpp, line 1801 (in DataWriter() ): hr = dataWriter->Write(dataStream); This returns E_FAIL I realize you don't have source code, so you can't step through IDiscFormat2Data::Write per-se, but I'm saying that some of the functions it calls that could be failing a ...Show All
unthreaded Binding workflow parameters with activity properties
Can someone provide a code snippet to show how to bind workflow parameters with (custom) activity properties. Note that the workflow is to be composed dynamically. I am trying to compose a WF dynamically by stringing together certain predefined activities that have some properties defined on them. I would like the WF to take certain parameters such that they are bound to appropriate properties in the activities (.i.e parameterizing the activities). As much possible I would like to use a built-in WF class like for eg. SequentialWorkflow class (and not define a custom WF class) for constructing my workflow. thx Jay Thanks much Vihang. However I get the following compilation error when I compile it Erro ...Show All
djm-web 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
rwerner How to test the GDI compatibility of an Application for Windows Vista
Hi, It would be really helpful if some one can tell me what are the methods that can be used to test an application to ensure the Graphical compatibility of it in Windows Vista. Thanks Braun It was really useful Hello Techorn, What do you mean by methods for testing an apps graphical compatibility Are you looking for methods that tell if desktop composition is enabled on the system (Can the system run glass) If an installation has Aero Glass enabled it means that the hardware supports DirectX 9.0 (which is fairly high end equipment). Does your application has a specific directX requirement You will also want to be careful if your application is doing any c ...Show All
noblgh Help, Persistence not working!
I have an ASP.Net web service that uses workflow. I followed the examples to use SqlWorkflowPersistenceService so my workflow instances would be saved in a SQL database I created for this purpose (running the SQL scripts in C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN). Here's my problem: my workflow instances are not being saved to the database! I can see my workflows going idle, but when I check the database I see no records in InstanceState. Am I missing something Could someone help me debug this, it's driving me nuts! Here's some of my configuration and relevant code: < add type = " System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.0.0, ...Show All
Horst Klein blocked flag in instanceState table
Hi, is there any possibility to influence the entry value (0 or 1) of the column "blocked" in the "instanceState" table, without using a customPersistenceService Thanks and Regards, Christoph Hey Serge, If you reload the instance into memory manual through the "Load" method, it will automatically continue execution after the delay timer has expired. If you wait and allow the SqlWorkflowPersistenceService to pick it up through its polling cycle it will also get activated when the delay timer has expired. Note that the "blocked" flag has significance only when the instance is in the datastore, the flag has to meaning when the instance is executing in ...Show All
aahkam Easier adding of paralell branches and brackets
Hi All, I'm a beginner in WWF, and I should implement an SQL-like(not for an SQL database, but with a similar language) query builder workflow. The query should contain only a SELECT with AND, OR, NOT and brackets. The selection is based on different characteristic, which are listed in a grid. After short studying of some sample programs and the help, I have the following questions: 1. How can I insert the dragged activity paralell to the current selected activities or to the activity bellow it Detailled: In the samples I have seen only one way for inserting paralell activities. You take a CompositActivity or ParalellActivity from a toolbox, and drop it into the designer. After that you take an Activity from a to ...Show All
fscarpa58 ISA Firewall Client
Why can't I install the ISA firewall client on Vista. I have tried stopping Windows defender but it still doesn't allow me to install it. Can anyone help I need the same thing..Have you solved the problem yet Or is there no hope How about the isa server 2006 firewall client Will it work ISA 2006 Client will not work. BUT, I just installed the older version (Microsoft Firewall Client Version 3.0) and it is working like a charm! Go figure. Todos putos yo lo hice andar, Me la fuman. I have the same problem too, does anyone have an answer I have looked everywhere... there is another similar thread here http://foru ...Show All
Ferdinand Kuiper Vista: DCOM server (running in a special non-admin user account): Interface calls are blocked by LUA/UAC
Hi, Short descr.: Within Vista all calls to out dcom server return 0x80070005. The CCIEX itself is successful. Detailed description: We've got a DCOM server service running under a normal users account (in dcomcnfg and services this user is entered. This is because our customers don't allow 3rd party SW running under admin or system). We connect to this Server via CCIEX providing the credentials (AUTHINFO) of this account and we also set the blankets of the interfaces. The client itself is running under any other account. The server grants access to all relevant groups and users (DCOM users, Users, Admins, ANONYMOUS,...). This method worked fine since NT4, also across machine boundaries. Now with Vista even ...Show All
Tsuchida When is Reactivation necessary?
Hi, I have a legitimate MSDN copy of Vista running. It was activated during installation. Over the past 3 weeks a window has popped up 3 times saying "Your activation period has expired and Windows is no longer working. To use windows you must activate this copy of windows." I activated and now all is well - for now. The return message said the activation was successful. This bothers me because MSDN copies are apparently only good for 10 activations and I have already go through 5 - 2 during setup and 3 die to this annoying window popping up. Is this a know bug I was not doing anyhing particularly dangerous. Just typing in Visual Studio. Does Vista require periodic reactivation What gives here. Any insight would be appr ...Show All
