It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I own one of those old U3 Cruzor USB's, and I want to create an application running on the image/iso/cd part (with a custom flash using "universal customizer") finding the other driver letter, reading an ini (.inf) file and starting an application based on what it finds in that file.
Not sure what language to create it in. But I would like it to be as small, fast and compatible as possible (windows xp, vista, 7. and not requiring .NET framework).
How does I find the driver letters for the USB?
This can be achieved using the DriveInfo class: http://msdn.microsoft.com/en-us/library/abt1306t.aspx
To get the volume label of the drive do the following.
DriveInfo[] allDrives = DriveInfo.GetDrives();
foreach (DriveInfo d in allDrives)
{
if ((d.IsReady == true) && (d.DriveType == DriveType.Removable))
{
Console.WriteLine(d.VolumeLabel);
}
}
edit: just saw you dont want to use .NET...
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Can an application call Glass to take pictures? I only see "Sharing" when a user takes a picture and wants to share it manually; is there a way applications can call Glass camera and take a picture?
Case:
Say, a user says they want a timeline of his daily activities, so they set an interval of time: "30 minutes"; the application would then call Glass camera every 30m, take a picture and store it for a timeline.
There is no direct control of the hardware through the Mirror API. Feel free to file a feature request in our issue tracker.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How do you show the Open File Dialog on Windows using just straight C++ and the Windows API?
I'm trying to load an image to display on the screen.
You want the common file dialog API, specifically GetOpenFileName - http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927(v=vs.85).aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to close process by windows title whenever that process open. How i do it?
On Windows, use FindWindow() to locate a window with the desired title, and if found then use PostMessage() to post a WM_QUIT message to it. If the window is still running after a period of time, then you might be able to brute force kill it, depending on permissions, by using GetWindowThreadProcessId(), OpenProcess() and TerminateProcess().
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can I create authentication screen over using OpenGl ? Are there any tutorial or web page ?
NOTE : I have not found any, if I found, I would not ask the question.If there are any page, just give a name so that I can erase this question.
Please look the image on the http://docs.oracle.com/cd/E13169_01/ales/docs22/integrateappenviron/wwimages/aldsp4%20client%20login.gif
EDIT : I want to take input from screen .
OpenGL is not the library you are looking for, there are many thing you can do with it but this is not one of that, for the graphic user interface you can use GLUI http://en.wikipedia.org/wiki/OpenGL_User_Interface_Library
for some more articulated you can use AntTweakBar
http://www.antisphere.com/Wiki/tools:anttweakbar
Both are well integrated with OpenGL
You can force this by just drawing all the buttons and implement a kind of text field, but this is not what OpenGL is made for.
At your place I would use a language like Objective-C for Mac platforms, and C# for Windows platforms.If instead you want to stick with C++, then use a library like Qt.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm new to Kinect Development
I've installed VS2010, Kinect SDK & .NET4
I want to know how to get image frames from the Kinect sensor in C++. Any thoughts ?
UPDATE:
Here's an updated version for Kinect V2 from July 2014.
Check out this serie on channel9 : http://channel9.msdn.com/Series/KinectSDKQuickstarts