Regarding guidInstance in DIDEVICEINSTANCE
Microsoft says:
Unique identifier for the instance of the device. An application can save the instance globally unique identifier (GUID) into a configuration file and use it at a later time. Instance GUIDs are specific to a particular computer. An instance GUID obtained from one computer is...
What is better method to use if I would like to provide the user with some information
about my Hardware device.
Should I develop a proprietary COM Library or should I develop a WMI provider?
...
I want to know which threads processes device interrupts. What happens when there is a interrupt when a user mode thread is running? Also do other user threads get a chance to run when the system is processing an interrupt?
Kindly suggest me some reference material describing how interrupts are handled by windows.
...
I'm new to COM programming. I've got a COM object (and associated IClassFactory) all ready to go, but I can't quite figure out how to go about registering the resulting DLL for use by other programs. The number of GUIDs I need to sling around is also unclear to me.
The COM object I'm trying to register implements the IAudioSessionEven...
I'm using openCV 1.1pre1 under Windows.
I have a network camera and I need to grab frames from openCV. That camera can stream a standard mpeg4 stream over RTSP or mjpeg over http.
I've seen many threads talking about using ffmpeg with openCV but I cannot make it work.
How I can grab frames from an IP camera with openCV?
Thanks
Andrea
...
We have a fairly large Windows based 1.1 .NET application that we are considering moving up to 2.0. The main reason we are considering the update is so we can utilize Visual Studio 2008 for ongoing development on the project, as well as we use the Infragistics Suite of controls and the 1.1 set is no longer being updated with new feature...
I have a large file server machine which contains several terabytes of image data that I generally access in chunks. I'm wondering if there is anything special that I can do to hint to the OS that a specific set of documents should be preloaded into memory to improve the access time for that subset of files when they are loaded over a f...
This is somewhat a duplicate of this question.
I am trying to make a windowless console application to check up on OpenGL version supported. In order to do this I need to set up a render context - but without creating a window. I am trying to use desktop handle, which I won't write to.
I forgot to set pixel format in previous example -...
So I've found out that setting the PATH environment variable affects only the old command prompt, powershell seems to have different environment settings. How do I change the environment variables for powershell (v1)?
Note:
I want to make my changes permanent, so I don't have to set it every time I run powershell. Does powershell have ...
This is a few questions compiled into one post.
1) What would be the best way to tell if a USB mass storage device is plugged in.
2) What is the best way to write data to a USB drive
3) Can you treat the memory on a usb drive as you would in regular memory..
(Could I use like malloc and or write directly two it with values/ and or ...
This is a continuation of Register implementation of a com interface ; only now I've got actual code that needs debugging.
I've got two COM objects, one that implements IAudioSessionEvents and one that implements IClassFactory and produces the first object.
The following code registers those objects (in accordance with my understanding...
I'm trying to print an LPCWSTR value to a file, but it only prints the address, not the value.
I've tried dereferencing the variable (using *) to get the value , but this doesn't work either.
How can I print the value ?
void dump(LPCWSTR text){
ofstream myfile("C:\\myfile.txt", ios::app );
myfile << text << endl;
myfile.close()...
I am trying to figure out whether the current windows user either is local administrator or can use UAC to "attain" that group membership.
What I've come up so far looks like this:
var adminIdentifier = new SecurityIdentifier("S-1-5-32-544");
var current = WindowsIdentity.GetCurrent();
bool isAdmin = current.Groups.Contains(adminIdent...
I write a driver to attach on MountPointManager and filter all IOCTL_MOUNTMGR_DELETE_POINTS IRP. But after I return this IRP with code below, I see no volume letter left.
Irp->IoStatus.Status=STATUS_INVALID_PARAMETER;
Irp->IoStatus.Information=0;
IoCompleteRequest(Irp,IO_NO_INCREMENT);
return STATUS_ACCESS_DENIED;
Anyone could help me...
Hello everyone,
I am preparing for my senior thesis presentation. I'd like to back myself up in case there is no internet connection available. Therefore I want to record a video showing the functionality of my software. I have tried Camtasia but all the smooth and slick animations I've created, do not look that appealing. Is there an al...
Going to make an applications wich will be used on a device without a physical keyboard
Looking for best practices for touch-screen applications.
Which commercial/free on-screen keyboard or on-screen numeric keypads do you use on Windows devices?
Or should we use a library to implement our own input devices?
Currently using the standard ...
We have a a product developed on Windows for years. The product is composed of one Eclipse workspace and about 20 projects.
On Windows, we ask every developer check out projects into d:\dev\product folder, and copy a unified Workspace to d:\dev\prod_workspace. This way, whenever a new machine is set, we simply copy files to the same fold...
How can I simulate these calls inside a program?
Like say I want to find all the active connections. So I want to use netstat -a
How could I use that without having to literally having a window open?
...
I've got a pretty stubborn executable that I would like to execute sequentially multiple times from within a Dos batch file. (Due to IT constrains currently constrained to using Dos batch files.)
I am able to use START to launch the executable, however, it seems the executable is expecting the user to hit return prior to "really" runni...
Should i use this form of switch statement:
switch(msg)
{
case WM_LBUTTONDOWN:
{
char szFileName[MAX_PATH];
HINSTANCE hInstance = GetModuleHandle(NULL);
GetModuleFileName(hInstance, (LPWCH)szFileName, MAX_PATH);
MessageBox(hwnd, (LPCWSTR)szFileName, L"This program is:", MB_OK | MB_...