My application uses a Named Pipe to do IPC. What access control should I place on it, to provide broad local only access?
The pipe is created by the .net 2.0 remoting protocol, and it already has an ACL for the 'NETWORK' group to deny all access, so I think only local users can access it. In my remoting configuration file I need to pick...
There's a question about converting from a SID to an account name; there isn't one for the other way around.
How do you convert a username to a SID string, for example, to find out which HKEY_USERS subkey relates to a user of a given name?
...
My OS is Windows XP, and I'm using IIS 5.1 and PHP 5.2.9. I'm trying to call a PHP script from my PHP page in order to convert an RTF doc to a PDF, using OpenOffice. The script works just fine when I call it directly from the command line, but I'm not having any success getting the very same script to work when launched from my PHP w...
Say you do the following:
1) Load foo.dll using LoadLibrary.
2) Get a pointer to a function using GetProcAddress.
3) Invoke the function, giving you a reference to a COM object implememented in that module.
4) Free foo.dll by calling FreeLibrary.
5) Call a method on the COM object.
Would you expect that step 5 succeeds and doesn't ...
If I have an ASP.NET app hosting a worflow where a trouble ticket passes through a fairly standard flow....at one point there needs to be an escalation occurring if a ticket has not been looked at or resolved in 6 months. Now lets say the 6 months have passed, but the IIS machine has been rebooted last month and not used. Will the work...
Hi all,
currently I'm struggling trying to use a COM dll on a simple system that I've made. Everything compiles successfully, but in runtime the CoCreateInstace is returning S_OK, but somehow my object pointer is returning NULL.
This interface pointer is created on my class header. The weirdest thing is that instantiating this same po...
I have a Rails app running with Apache on a Windows 2003 server . I am using the Apache Lounge version of apache.
Httpd.exe process's Mem usage and VM Size is growing constantly and quite fast, while there is not much load. Most alarming is the VM size, as it appears to be growing at a much faster pace, reaching several GB in a couple o...
Hi All,
I am developing one firewall like kind application for my XP machine.
I am using pre WFP apis and hardly finding document on those api.
I am using PfAddFiltersToInterface to add the filter, it takes one parameter of kind PF_FILTER_DESCRIPTOR.
I wanted to know how to fill this structure and some more info on other apis
i have...
How can I rename all hidden directories under the current directory in DOS? I've just updated Tortoise SVN to use _svn instead of .svn. I noticed that it still works if I just rename the folders.
...
Hi Experts,
I am using thread which will receive messages from the
external application.So my thread shud be alive always.
I want my thread to be running through out the application,
untill application exits. Currently i am calling my thread in program.cs,
which is the startup for windows application c#. Please see the code below
t...
I'm trying to write an application that will get the mic volume of every sound card on a machine.
My current code looks like this:
for (unsigned int i = 0; i < waveInGetNumDevs(); ++i)
{
HMIXER hmx;
mixerOpen(&hmx, i, 0, 0, MIXER_OBJECTF_WAVEIN);
if (hmx == 0)
{
printf("Unable to open device %d\n", i);
continue;
}
MIXERLINE...
Hello,
I have produced a website for a design company
http://www. paul bro okes des ign dot com
As you can see the first page has a flash image fader on it. This works totally in Firefox on all computers. But in IE on several computers, this fails to load... only getting to 25%, or 44%.
On my computer this loads 100% every time in I...
When run on a Spanish version of Windows XP my program invokes
LANGID langId = (LANGID) MAKELANGID( LANG_ENGLISH, SUBLANG_DEFAULT );
LCID locale = MAKELCID( language, SORT_DEFAULT );
BOOL isValid = IsValidLocale( locale, LCID_INSTALLED );
IsValideLocale() return FALSE when asked about English locale. Obviously something must be tuned...
I'm trying to implement a very, very simple accessibility test for Swing so I can get a handle on how big a piece of work it will be to provide accessibility support for our already established Swing application.
I have the most simple Swing program, and I'm using Narrator in Windows Vista to attempt to screen-read its GUI.
public clas...
I've heard they have standard GUI guideline, but I can't seem to find a working link.
Thanks.
...
I'm writing a class in C++ that I cannot debug by using F5. The code will run from another "service" that will invoke it.
In the past I've used __debugbreak() and when I got a window telling me that an exception was thrown selected to debug it.
Recently I've updated to windows 7 and it kept working for a while.
Today when I've tried t...
I'm experiencing a memory leak when using WMI from Delphi 7 to query a (remote) pc. The memory leak only occurs on Windows 2003 (and Windows XP 64). Windows 2000 is fine, and so is Windows 2008. I'm wondering if anyone has experienced a similar problem.
The fact that the leak only occurs in certain versions of Windows implies that it mi...
using jar on the windows command prompt, how can I add foo.class to a folder "classes" in foo.jar?
I can add the file to the jar using
jar uvf foo.jar foo.class
but that doesn't put the class in the "classes" folder in the jar.
I know I can use winzip to unzip the jar, add the file, and zip it up again, but that's slow and hopef...
I've written a Delphi DLL that communicates with a third party program via COM. Some users report that the third party program crashes occasionally. Others using the software in an identical fashion have never experienced a crash. When this crash occurs, the third party program appears to simply become unavailable in my DLL app.
The ...
I've been warned by several people not to store temporary files in the Temporary Internet Files directory. Where would be the best place to store any temporary or log files that my application generates?
...