I need to write a windows service which executes an application after a certain amount of time. I have checked out the code in MSDN and found an example in which the System.ServiceProcess.ServiceBase class is sub-classed.
I did the following.
created a new C# console application
copied the code from the MSDN example
Run
I get the fo...
Hi, I just want to ask, I know that standart system calls in Linux are done by int instruction pointing into Interrupt Vector Table. I assume this is similiar on Windows. But, how do you call some higher-level specific system routines? Such as how do you tell Windows to create a window? I know this is handled by the code in the dll, but ...
I will soon have the need to purchase dedicated windows server hosting.
I'm looking for a higher quality of web hosting, so I am not adverse to spending more for a better/more reliable host.
I've heard some good things about RackSpace - anyone else have opinions of good hosts?
Again, quality is more key for me than price, but price doe...
Do GTK apps look native in those environments?
...
I am using a third-party application to handle batch CD audio extraction via multiple FireWire attached devices, but the application frequently (though non-deterministically) hangs during the extraction. I suspect that the multithreaded application is deadlocking over some shared resource. The developer, however, suspects the problem lie...
Hello all!
Im trying to use mysqldump like below:
mysqldump -hlocalhost -uadmin -padmin shop> D:\b2\shop3.sql
When i execute it in command prompt, the file shop3 is generated with all the tables from the shop database.
But, when I use it in my php file like below, it generates an empty file.
$cmd = 'mysqldump -hlocalhost -uadmin -pad...
I have two questions:
How to hide cursor for all programs? I tried to hide the cursor by using
ShowCursor, but it only works in my program. The cursor still appears when moving
cursor outside of my program.
How to disable mouse operations for all programs? I use SetWindowsHookEx to hook mouse and prevent other programs to processing th...
Quoted from here:
If your program uses Win32 specific functions of WinPcap, remember to include WPCAP among the preprocessor definitions.
If your program uses the remote capture capabilities of WinPcap, add HAVE_REMOTE among the preprocessor definitions. Do not include remote-ext.h directly in your source files.
Has anyone managed t...
I'd like to find the directory of the current user profile programatically in C++.
...
I'm running Windows 7 Pro x64 on a Core i5 with a NVIDIA 3100m, which is CUDA compatible.
I've tried installing both the 32-bit and 64-bit CUDA toolkits from NVIDIA, unfortunately from with either of them I cannot compile anything; nvcc says "cannot find a supported cl version. Only MSVC 8.0 and MSVC 9.0 are supported".
I have the x86 ...
Some Details
I am working with VisualWebGUI, so this app is like ASP.NET, and it is deployed on IIS 7 (for testing)
For my 'Web Site', Anonymous Authentication is set to a specific user (DomainName\DomainUser). In my web.config, I have impersonation on. This is how I got my app to access the share in the first place.
The Problem
T...
I'm looking at incorporating Lua into a C++ project, and am a bit confused by the presence of the two binaries (lua51.dll and lua5.1.dll) in the distribution from Luabinaries.
According to the docs...
In Windows your library or application
must be linked with a stub library. A
stub library is a library with only
the function d...
Hello,
I need your suggestions in solving this issue. Here is the requirement.
We have a Microsoft Exchange server and we have a service email account [email protected].
We have scanners all owner the company when a user scans a document and email is sent to [email protected] as attachment.
Now I need to write a Windows service which...
I'm wondering if it's possible to catch Windows 7 Sleep/Suspend Messages.
http://stackoverflow.com/questions/727154/cant-catch-sleep-suspend-messages-winxp
...
when i access webservice,How can I get windows Mobile Application's network speed?
...
I developed small cross-platform (Windows and Mac) SWT desktop application. It is distributed with WebStart. So far so good, everything works.
I've got a new requirement to make my app start on system startup (with no user interaction). What is the best way to accomplish that?
In JNLP file I've got this:
<shortcut online="false">
...
I am aware of this question, but it is a bit old now, and some of the answers seem outdated.
Question: please write one answer per GUI you have used, including pros and cons (for example, as far as I can tell, with git gui, you can't manage the stash).
...
I have a file that I need to "protect" so that it cannot be copied! I am using Python on Windows XP.
I think it may just be changing file permissions??
...
I have written a Python script and compiled it into a MS Windows EXE file. I can modify the code, but how do I make it remove itself after running?
...
I use SVN from Collabnet, 1.6.9 version. I tried to separate my project on two parts with SvnDumpFilter and encountered an error because some folders (includeing the one I want to separate) had been moved. Then I googled that SvnDumpFilter 2 and 3 can solve this problem. I tried to use them but in both cases encountered an error: Error p...