Answer Questions
William N Accept() error when spawning a task
I am trying to spawn a task to listen for socket connections which will then spawn a task to receive from the connection. The problem I am having is that when I spawn the task the accept() returns an error of ENETDOWN (50) saying that the network is down. However, if instead of spawning the listening task I simply call the function the accept() returns fine. Here is the code... //Spawning a task int main() { taskspawn("listenTask", ListenForConncetion, 100, 0); Time t = {9999, 0}; Sleep(&t); Exit(0); } void ListenForConnection(void) { bind(listenSocket, (sockaddr *)&listenSocketInfo, sizeof(listenSocketInfo)); ..... listenSocket = socket(AF_INET, SOCK_STREAM, 0); ..... while(1) { acceptSocket = acce ...Show All
Rhubarb "Allow Service to interact with desktop" does not work on Vista
Network Instruments is using extensively "Allow Service to interact with desktop" for the application configuration. The latest build of Vista (5744) still does not support "Allow Service to interact with desktop" feature. I can see the service running and an application that it starts and tracks is also running (seen in the Task manager). Not only that, when I configure the application - running as app - and then run it from the service, it functions and I can communicate with it. However I can't see it on the desktop. Is there a fix on a way We NEED an option to allow Service to interact with desktop!!! If a service is requesting input then Vista will give you the op ...Show All
CirdanCelebrindal MP3 in memorystream
Hi all, is any possibility how to play mp3 from memorystream or o ther forms of streams Or how decode mp3 file to wav with any external dll (no *.exe!) with api wraps. I appreciate, if you could solve this problem out, and help me or tell me how i can do this, thank you Chris P. wrote: Geraint was refering to the Async "mem" source sample. \WindowsVistaSDK\Samples\Multimedia\DirectShow\Filters\Async(\MemFile) i must download this or s omething else http://www.microsoft.com/downloads/details.aspx familyid=c2b1e300-f358-4523-b479-f53d234cdccf&displaylang=en thank you. why don't you try to create your own source filter (try extending the CSource that implement ...Show All
PerPixel Webservice Multiple Methods
I have a workflow that i have exposed as a service. Is it possible to have either multiple webservice inputs into my workflow I want to have a webservice with mutiple methods rather than having mutliple services each with one method. Thanks. What i really want is for expose my webservices in the same way they used to be. ie. When the service is referenced you see multiple methods. I can only seem to create one method per service. Well - then you probably want to create your own Web Service based hook instead of using WebServiceInput/Output/Fault and the built-in Web Service hosting layer You can - you have can mulitple webserviceinputs - but your clients have to s ...Show All
StarsFire DX8VB.DLL and Vista. Game compatibility broken on Vista
Hi. There is already a lengthy (or getting lengthy) thread in the game technology section of the msdn forums in regards to the problem I'm about to bring up, but, it was suggested (by a forum MVP) that I post something in the vista compatibility section to get feed back and support from the vista compatibility folks. I am an independent game developer. I sell commercial 3D games. Specifically www.maximum-football.com if you care to have a look. Currently I'm stuck between a rock and a hard place. Unlike XP, vista no longer ships with a dll called DX8VB.DLL. XPSP2 shipped with it, the DX8 and 9 redistributable packages (supplied by microsoft) also included it. The EULA of the redistributables states (somewhere in there) that you ca ...Show All
BBBri OLAP Reporting App "Error HRESULT E_FAIL has been returned from a call to a COM"
Hello I'm having some problems with an application and I would like some help I'm implementing the "OLAP Reporting App in ASP.NET " at my work, I has adapted the source code form Microsoft to connect to the database, it is already working, but after I create my view I need to create the "Custom PivotTable Report" but when I clicks on " Load Custom Report " I received the message below <err> Interop.OWC10 - Error HRESULT E_FAIL has been returned from a call to a Com component. </err> Someone knows what it means ! Thanks for Now Rafael, Voce conseguiu resolver o erro, pois, estou com o mesmo problema. Estou escrevendo em portu ...Show All
Mark 2334 Crearly a Vista problem
I'm having a problem with Windows Vista Ultimate 64 bit edtion on my HP laptop, when i close the lid but i have set up what windows does when i close the laptop to do nothing, but when i close the lid, and re open it, the screen is off/black, cant shutdown it properly and must do hard reboot. Laptop is HP Pavillion dv9000nr AMD Turion 64x2 Nvidia GeForce GO 6150 1gb memory Hi I have a HP nx7400 with a Intel 945GM graphics and experiencing the same problem just got the latest BIOS update and the latest driver for the graphics car and still the same once I close the lid (windows settings are DO NOTHING) thats it I hear the sound like if you disconnect a USB device and that is it. When i op ...Show All
Sam Tyson 92 Adding assemblies to Global Assembly Cache
Hi, I have tried adding a signed assembly to the global assembly cache on Vista Beta2 using both gacutil.exe and drad n drop in windows. However, I always get the message 'Access denied' and that you need Adm,inistraive privlages, even though I have administraive privalges and even get the same error when logged in as an administrator!! Is there something I'm missing Turning off the Account Control for the user seems to work. Right click on command-prompt from the start menu, and select "Run as Administrator". Then install using gacutil.exe. This worked for me on Vista RTM (Build 6000). ...Show All
Gavin Clements designerHost uses the wrong activity designer
I have the code shown below to assign a custom designer to my custom activity. The activity type shown is the type I use as the root activity type in my workflow. When I later look at the rootDesigner using the following code IRootDesigner rootDesigner = designerHost.GetDesigner(designerHost.RootComponent) as IRootDesigner ; then I can see that the RootComponent is of type SequentialWorkflowDesigner and NOT of my custom type WorkflowActivityDesigner. The constructor of WorkflowActivityDesigner is not being called. Why does the designerHost not use my custom designer or How can I change the designer used for the root component ----------------- [ Designer ( typeof ( WorkflowActivityDesigner ))] ...Show All
Tigers21 Windows Installer 4.0 Corrupt
How Do I repair a corrupt windows 4.0 installer the best place to ask would be here: http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx ...Show All
ThE ViKinG WorkflowRuntime events are missing when using an indexer! Bug or Feature?
Hello, we are getting some strange behavior from the WorkflowRuntime when using an C# indexer within a SequentialWorklfowActivity, the events like WorkflowCompleted are not being fired anymore. Here is the scenario/code: namespace WorkflowConsoleApplication3 { public sealed partial class Workflow1 : SequentialWorkflowActivity { public Workflow1() { InitializeComponent(); Console . WriteLine ( "MySequentialWorkflow ctor" ); Variables = new Variable2 [] { new Variable2 ( "WorkplaceName" , "" , false , "" ), new Variable2 ( "UserName" , "" , false , "" ), }; } [ Description ( " ...Show All
dwrayment How do i pass handle between proccesses?
Hi, I could use CreateProcess and STARTUPINFO to pass a pipe handle in xp. How can I use pipes with Shellexecute under vista Specifically, I tried "CreateProcess" from low privileged process(an activex) and it fails. Thanks in advance. Did you use an alternative I have used the registry and file but it is not my favorite... you mentioned named pipes failed T. Sorry Tom, I gave up on it. ShellProcessEx calls CreateProcess. Using ShellProcessEx is the recommended method. By default a protected mode process can only start processes that run at low integrity levels. "...by default, Low integrity processes can only wr ...Show All
Tom Medhurst Preventing auto-play of .WMV files on page load
Hello all, I am a WPF/E newbie, so please forgive me if this is a less than spectacular question. I am going through the quickstart guide and I like the functionality of being able to embed a .WMV file with the interactive controls. Problem is I do not want the movie to automatically being playing when the page loads. How do I prevent this from happening I tried a couple of things in the code to call the javascript function which is supposed to stop the playback but I am not having any luck. Thanks for the time, Doug Yeah, I installed the SDK. I found the XSD file in the program's directory. I just got it installed. Thank you again. Cheers. Thank ...Show All
Mario N Personal Cards, export and import
Hello, I just read about how a website can generate a unique id for its internet users by e.g. concatenation the public key with the PPID. But which public key From the website itself And a second question. The PPID is generated by (hashing or simply combining ) data from the site`s certificate and the master key of the card. But what happens if I export the card onto a usb-stick and import it into another cardspace on another pc. Will the PPID be the same Otherwise a cannot login from another pc.... Thank you in advance Best Regards, Simon Ok, thank you very much Nigel! When I go through US immigration the guy at the desk checks my passport. Two things i ...Show All
Joos Compiling a Custom Activity
Hello. I'm trying to compile a custom activity in xaml (not a workflow, just an activity) using the WorkflowCompiler class, but I get the following error: "Cannot compile a markup file which does not contain declaration of the new workflow type". Here's my code: ///Create the custom activity to serialize and compile. ActivityLibrary1. Activity1 act = new ActivityLibrary1. Activity1 (); act.MyText = "!!Hola Mundo!!" ; ///Serialize the class WorkflowMarkupSerializer serializer = new WorkflowMarkupSerializer (); XmlTextWriter writer = new XmlTextWriter ( "c:\\temp.xoml" , Encoding .UTF8); serializer.Serialize(writer, act); writer.Close(); ///Compile it WorkflowCompiler compiler = new ...Show All
