I'm currently porting some windows code and trying to make it available for use in Ubuntu. The project was originally compiled in VC++ without any issues. Also I should note that this only needs to work in Ubuntu, but more platform independent ideas are certainly welcome.
Most of the code is easy to port as it is mostly a numerical simu...
I try to use vim's internal grep with '**' wildcard as in the following command:
grep "test" **\*.txt
vim gives the following error:
FINDSTR: Cannot open **\*.txt
When I remove the '**' wildcard, the command works properly:
grep "test" *.txt
I changed the backslashes to forward slashes, but it didn't help neither:
grep "test" *...
Dear all
How can i get volume name for drive letter
example: how can i get volume name for G:/
Thank you for any help
...
I'm using SQLite in Windows from a .NET app. The .NET app is using the Open Source System.Data.SQLite library.
In my app, there are many threads accessing the same database. Is it best to:
Create and destroy connections as needed (what's the maximum number I can have?)
Create a long lived connection and use it from different threads...
Hey guys,
I am trying to make a contribution to the windows task bar so when i minimize my app it docks itself into the windows task bar , the best way of describing this is by looking at a picture I have drawn:
If anybody knows if this is possible or how to do it please let me know.
I am well aware of the ability to add an icon to ...
I'd like to compile a static version of the Qt toolkit on the Windows platform (Windows XP SP3). I downloaded the latest release for Windows and successfully installed it. Then I opened the Qt 4.6.3 Command Prompt from the Start menu and invoked:
configure -static -release -nomake examples -nomake demos -fast
Configuration executes fin...
After installation of Android SDK, there were created .android folder on the E:\ drive. As far as i know this is default folder of Android Virtual Devices for configuration files.
How can I move .android folder to a different location?
(eg. from E:\.android to E:\Android\.android)
...
Dear all
How can i get device name for drive letter
example: how can i get device name for G:/
Thank you for any help
...
I have to build an application that converts one file format to another file format. So at the start of the program, it pops up a file picker dialog, where the user can select which file to convert, then it pops up a save file dialog where the user can select where to save the converted file.
Requirements:
No installation. Distributab...
I want to extract a USB storage device serial number from inside a minifilter filesystem driver, inside the InstanceSetup callback using the technique described here the only difference is that I do it in kernel-mode.
I use:
status = IoGetDeviceInterfaces(
&GUID_DEVINTERFACE_DISK,
NULL,
0,
&SymbolicLinkList
);
to...
Is there an easy way?
...
Is there a way to programmatically check if IPv6 is installed/enabled on windows using c++? Either at an interface level, or system wide.
...
I know there are mythical answers to this, but I am looking for something definitive. Why do windows machines always start off booting up quickly and performing nicely and then by a year later your boot time is ridiculously long and launching programs is much slower. Is is because of programs misbehaving (if so how do i find them), regis...
Hey all I have a simple problem I was hoping someone can give me assistance with. I'm trying to get WMIC to return output however on different machines, the executable is in different directories. Is there a method to check all directories I list to get it to run, e.g.:
IF EXIST
wmic=c:\checkhere\
ELSE
wmic=c:\checkthisone\
CONTINUE
...
Hi all,
I am wanting to write a piece of software which makes use of the Windows Wireless Provisioning Services as per:
http://msdn.microsoft.com/en-us/library/ff543969.aspx
I need this software to run on all versions of Windows from XP SP2 upwards.
Does anybody know why this feature was removed in Windows Vista and whether it was re...
Hi,
I need to have a link in my application that opens a remote C drive window to a certain machine.
For example, this works...
<a href='\\dev_pc101" />\C$'>Connect to C</a>
BUT... I need to do it from a piece of JS code. so I'd like to do something like this....
function raiseQueryDialogConfirmRemoteDrive(arg) {
if (arg == 'butt...
The DLL Help site was really helpful in determining distribution needs. Now it's been retired. Is there a replacement for it somewhere? I can't seem to find it.
...
Hello, so i read a tutorial saying it is not worth it to memorize the windows API template. Do you as programmers memorize the template or just create one from the wizard? also does anyone know a good web source to learn windows programming better? theForger's is okay but more of a reference guide than a learning source
...
The search for the execution of processes has taken me to this question. How do the task manager read the processes that are running?? Is there any command that makes the task manager read the processes.
Please help me to getting to the answer.
Thank you...
...
In Windows Workflow, if i load more than one workflow for the same runtime it is leaking memory once workflow is completed it is not releasing the memory.
Consider a huge apps, which has 50 workflow and one workflow runtime, each and every service request will create a workflow instance and runs it. over the period of time these workflo...