Duplicate of: http://stackoverflow.com/questions/774925/detect-when-users-take-screenshots-of-my-program
There are various ways to take screenshots of a running application in Windows. However, I hear that an application can be tailored such that it can notice when a screenshot is being taken of it, through some windows event handlers p...
I was wondering how I could check if a device driver is loaded using Perl? The operating system is Windows Server 2003, and I'm interested in seeing if the driver for a particular video card is loaded correctly or not.
...
What is a good pywin32 odbc connector documentation and tutorial on the web?
...
What library should I use to connect to odbc from python on windows?
Is there a good alternative for pywin32 when it comes to odbc?
What about pyodbc? http://code.google.com/p/pyodbc/
Any others? Which one is good documented, robust, actively maintained, what are you guys using?
...
I am running an executable in a batch file with two parameters;
cmd /k ""executable" "param1" "param2""
This returns a string that I want to launch. I can't figure out how to set this return in a variable and subsequently launch it in IE.
Any ideas?
...
I have written a DLL which exports a function that creates a window using RegisterClassExW and CreateWindowExW. Every message is retrieved via
GetMessageW(&msg, wnd_handle, 0, 0);
TranslateMessage(&msg);
DispatchMessageW(&msg);
Also there is a program which loads the DLL and calls the function.
Despite the Unicode window creation m...
Hi,
I'm using a 3rd party DLL which uses OpenGL. Right now that 3rd party does not work correctly as the display does not refresh correctly. I came to suspect that the OpenGL library isn't correctly installed or may be outdated.
Is there a way to update the OpenGL library on windows? Is there like an official site which will hold the c...
How might I design a UI in C#/WinForms which happens to contain several different control types such that only the ListView control gets resized if the user resizes the window?
...
Hi all!
My question basically says it all. I am getting this:
C:\DOCUME~1\frew\MYDOCU~1\Code\AIRCRA~1\lib\ACD\VALIDA~1.PM
and I want this:
C:\Documents and Settings\frew\My Documents\Code\aircraft_ducting\lib\ACD\Validators.pm
I looked at File::Spec::Win32 but that didn't seem to have anything that would do the trick.
Ideas?
T...
I am going to need to create a small windows application that stores basic data about people.
The requirements are:
Recruiters go out into the field and gather demographic data about people they talk to.
Recruiters return 'home' and contribute their gathered data into the main database (SQL Server 2005).
This is the first time I hav...
Whenever we recompile an exe or a DLL, its binary image is different even if the source code is the same, due to various timestamps and checksums in the image.
But, our quality system implies that each time a new DLL is published, related validation tests must be performed again (often manually, and it takes a significant amount of time...
Hi,
Is it possible to deploy j# application on the azure cloud?
We have a requirement where in we need to deploy a J# web application in azure cloud. When the concerned application is run in the local development fabric (in the machine having the j# redistributable), it works fine. The moment the application is uploaded to the cloud we ...
i register my file extension in windows with "ftype" and "assoc", this works. now i have the bad looking default icon, how can i change this icon??
...
I want to make my C++ project cross platform, and I'm considering using Cygwin/MinGW.
But what is the difference between them ?
Another question is whether I will be able to run the binary on a system without Cygwin/MinGW ?
...
Hi all,
I'm trying to compile the example from here;
http://msdn.microsoft.com/en-us/library/ms682619(VS.85).aspx
I've installed the Platform SDK, but I'm getting these errors;
Error 1 error LNK2019: unresolved external symbol _GetDeviceDriverBaseNameW@12 referenced in function _main DriverChecker.obj DriverChecker
Error 2 error ...
On linux we can use "time" command.
Or from C++:
#include <sys/time.h>
#include <sys/resource.h>
int getrusage(int who, struct rusage *usage);
How to do a closest thing to that on windows ?
...
link textIn my project I have implemented the CreateFileMapping concept to share memory between two processes. I have a server process in which I store the memory address of my session data, which contains details about a particular image. And I have a client process in which I read that address from the buffer. Now the problem is the ad...
I've got an AIX script I would like to run from a .NET application. I'm not opposed to kicking off a Windows batch file if that gives me better options.
Most of what I've seen on Google relates to using a tool such as rsh or Plink, or using ssh or telnet. I don't have access to rsh or Plink (although I do have PuTTY and could probably g...
I would like to write a program that sets an environment variable in an instance of the shell (cmd.exe) it was called from. The idea is that I could store some state in this variable and then use it again on a subsequent call.
I know there are commands like SetEnvironmentVariable, but my understanding is that those only change the va...
I'm kind of going through DOS again and it's been ages, so I need a lot of help.
My question is; how can I make a batch file open a popup screen?
Like:
Sorry for the poor English, I'm Dutch/Italian >.<
...