windows

How can I install a service under a different account than the LocalSystem account using Win32 API?

How can I install a service under a different account than the LocalSystem account using Win32 API? I am using the following code to install the service. I want to install this service under a different account. The last two parameters take username and password but when I give so it throws an error. Is there any specific way of giving ...

Can you recommend an interesting driver application that's fit for novice?

I'm totally new to driver development, seeking of an interesting driver related task to get started. ...

Get browser memory usage on windows shell

Hi, is there a way to find the memory usage of a browser in execution with windows shell? I don't know if it's a stupid question or not because i'm not practice with shell so please be patient:) ...

Shell only subversion client on windows

Hi, i'm looking for a subversion client that hasn't a GUI but is accessible only through shell commands. I've installed Tortoise SVN but it adds some items to the context menu of files and folder and i don't want this changes. I hope this is not a duplicated question, but i've looked at a lot of questions about svn clients and i haven't ...

Is there any handy api to check whether the current folder is hide in windows?

I need a very fast way to check a list of path, whether they are visiable or not. If the pathA's parent,parent's parent ... is hide, then I think this folder is not visible. Is there any handy API to do it in windows? Many Thank! ...

Key repeat on Windows

When you hold a key on the keyboard under Windows XP, the keyboard seems to send Key Down, Key Up repeatedly. However I am developing for a device where holding a key generates a "proper" key repeat, that is, lots of Key Down and then one Key Up when you release the button. I want to get the same behaviour under Windows to get our emul...

What is inside Windows SDK?

For developing programs for windows, we need windows SDK. I understand that this SDK is what helps to create windows and handle window events and all that. I suppose it also enables us to manipulate with files and registries. (Does the same SDK is the reason for thread creation and handling?) All that is fine! I would like to know wha...

Enable Proxy Authentication for normal windows application.

my company's internet works on proxy server with Authentication(i.e. Browser prompts with window for username/password everytime i tried to access any web page). Now i have some windows application which tries to access internet(like WebPI/Visual Studio 2008 for rss feeds), but as they are unable to popup the the authentication window, ...

Windows Workflows - While Activity for creating multiple tasks not working

I am using a while activity for creating multiple tasks for a workflow. The code is executed fine and the task is created when the loop runs only once. But when the loop runs twice or more, only one task is getting created. Also the WF status shows as Error Occured. All I want to do here is create multiple tasks (no of tasks depends on ...

.net - how to connect windows service with systray application

I have a windows service that do something periodically. on user account runs systray application (written in C#) that communicate with windows service (thru .net remoting) and shows a status and some option to users. Everything works well beside that systray app uses 20-30MB of RAM ! it have to work in terminal environment, when 50 use...

Storing a value in Memory Independent of Process

Hi, I need a way to store a value somewhere for temporarily by say Process A. Process A can exit the after storing the value in memory. After sometime Process B comes accesses the same location of memory and read the value. I need to store in memory, because I dont want the data to persistent across reboots. But as long as the system is...

Can anybody tell me where I can get 32 bit version of IESHIMS.dll and GPSVC.dll which will be compatible with Windows Server

Hi All I am facing one problem that my 32 bit ocx doesnt get register on Windows Server 2008R2. After using the dependency walker I came to knew that 32 bit version of GPSVC.dll and IESHIMS.dll are missing on R2 OS. So I tried to serach the 32 bit versions of these dll for R2 on net but did not find these dlls. So can any body tell me w...

Using a batch file to create folder and copy files into it to multiple PCs

Hi, I have a folder with numerous files that I need to copy to multiple PCs on a network. I thought if the folder didn't exist it would automatically create it. Here's what I have... copy "C:\Documents and Settings\follag\Desktop\Music" "\PC NAME\c$\Documents and Settings\All Users\Desktop\Music" When I look at the destination PC, it...

How to create a .BAT file to download and unpack a zip file?

How to create a .BAT file to download and unpack a zip file from HTTP server? We have links like http://example.com/folder.zip and absolute folder link like C:\Users\UserName\Some mixed Русский English Adress\ if files from zip exist in directory owerrite them. using only native windows (xp vista win7 etc) BAT functions and files. C...

What to learn for windows programming(that doesn't require any framework installation for end-users)?

Exactly what the titles says, What should I learn to be able to create software that doesn't require any framework installation for end-user(the software user)? So that rules out .net and Java. What other options do i have available? Is win32 api the only way to write native applications for windows? Does Qt require installation any ...

Is it possible to unzip .ZIP file using .BAT command on Windows XP?

Is it possible to unzip .ZIP file using .BAT command on Windows XP? we have file.zip how to create a .BAT commands file to unzip\unpack it to some folder. USING ONLY NATIVE WINDOWS XP programms and commands. So.. How to do such thing? (code example, please) ...

Application to watch what an executable does?

Hello I need to find out exactly what files/directories a Lua program uses so I can try to only pack what it needs into a ZIP file, and come up with a simple way to deploy this script. I used SysInternals' Process Monitor, but I'm surprised by the small amount of information it returned while it watched the program (For Lua users out t...

How do I install every libs in Devel group of Cygwin?

Is there a way to install every bin in a group of softwares (like devel)? Thank you. ...

Why is there garbage in my TCHAR, even after ZeroMemory()?

I have inherited the following line of code: TCHAR temp[300]; GetModuleFileName(NULL, temp, 300); However, this fails as the first 3 bytes are filled with garbage values (always the same ones though, -128, -13, 23, in that order). I said, well fine and changed it to: TCHAR temp[300]; ZeroMemory(temp, 300); GetModuleFileName(NULL, tem...

Java: unmark file is read-only

Can I do this on Java? I'm using windows... ...