I'm not sure I need JVM, or how'd I'd use it if I did.
I basically want to a BFS for directories on a multi-drive system. I think I could pound this out using some of the Java examples I've found online, but if there is a faster, better way with Windows, I'd like to explore that option.
Ideally I'd like it to work like the Window's Ex...
Is there any APIs in windows to detect whether the current user(current now) has the admin authority?
BOOL IsHasAuthority()
{
}
Many Thanks!
...
Hello,
I have put together a JNA code for installing keyboard hook in Windows (using the JNA examples). The code compiles and everything, and I get the hook installed (I get handle to the hook successfully), also I can uninstall the hook successfully. However, the callback never get called when I press any key on the keyboard. Here is m...
.
Hi,
We are building an ASP.NET application (with C#.net as language) and will be hosting on Windows Server 2003 Operating System. The server will be at USA.
The problem here is that, we need to synchronize the server time with it’s current USA time zone. That mean we are thinking of automated time synchronization (without any human...
I'm trying to understand in a bit more detail how a OS loaderlock is used in relation to the loading and unloading of DLL's in Windows.
I understand that every loaded DLL get notified when a new thread is created/destroyed and or a new DLL is loaded/unloaded.
So does that mean that the DllMain function is run inside a lock and no other...
Hey there. I'm having a very strange problem with creating sha256 hashes. I made a simple C console program that takes a file path as an argument and uses the standalone sha256 code that can be found here. I compiled the program using MinGW 5.1.6 on Windows 7 x64.
When testing the program on a file, the resultant hash is wrong. I made s...
hey all
im going through the setup on
http://www.railstutorial.org/chapters/static-pages#fig:autotest_green
and im stuck on this particular error:
ERROR READOUT: http://pastie.org/1015405
What i can see being the tell-tale issue here is the
No such file or directory - Files/rubygems-1.3.7/rails_projects/sample_app/spec/controllers...
This has been bothering me a while... and it's really hard to really see any difference in performance, so i ask here:
If my images doesnt use alpha channel, should i use 'GL_RGB' for saving them in GFX card memory, or 'GL_ARGB' as if that would be faster in processing since its full 32 bit block?
Or does GFX cards automatically conver...
Hi,
I'm looking for a way to parse XML in C++ in Windows and I've found a few such as MSXML, Xerces, TinyXml etc but I'm wondering which is best in terms of performance and features. My requirements are that it must be able to be static linked or have the source included in the project itself and must not require any additional toolits ...
WinXP, Vista, Win7, there is a certain folder for recyclebin.
How Can I get the recycleBin Path for each disk, for different operation System?
in WinXP it is called XX:\RECYCLER, while in vista it used another name.
Is there any windows C++ API for it ?
Many thanks!
...
I am current using VC++ 2008 MFC. Due to PostgreSQL doesn't support UTF-16 (Encoding used by Windows for Unicode), I need to convert string from UTF-16 to UTF-8, before store it.
Here is my code snippet.
// demo.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "demo.h"
#include "Utils.h"
#incl...
Hello,
gcc 4.4.3
vc++ 2008
I would like to make a timer application would be portable on windows and linux. However, would be suffice to start with.
My idea is to start a timer and set it for a specified number of seconds. When the time expires call a callback function.
Is that the best way to do this?
Many thanks,
...
can i see the value of variable using ECHO command? I tried this way but didn't work.
@echo off
set _src = String
echo %_src%
pause
...
Hey.
I'm trying to write a small chunk of code to grab the backbuffer into an array of pixels. I've barely used directX before as I'm more of a OpenGL fan.
My wish is to actually replace some code in a project that grabs the backbuffer using BitBlt and DC which is very slow.
This is supposed to work on all computers and that's why I chos...
I have developed a driver for Windows XP which is able to monitor the execution of processes.
A callback function receives the notifications using standard WDK API (PsSetCreateProcessNotifyRoutine).
The driver then decides if the process should be authorized or not; if not, it must block its execution/kill it.
What's the cleanest way t...
I want to post a message to a thread that is running as another process (in particular as a windows service). I've read the documentation for PostThreadMessage but there are some things unclear for me.
How do I get a handle for my service's thread?
The system only does marshalling for system messages (those in the range 0 to (WM_USE...
I am looking for a solution to a specific use case:
When I read something on my browser or pdf reader, I want to take notes without switching windows. I want to type right on my browser or pdf reader, but the typed text should go to the background text editor like notepad.
Is this possible?
Do you know any existing automation script t...
does the variable 'var' gets destroyed before displaying its value?
@echo off
FOR /f "tokens=* delims=" %%G IN ('dir') DO (
set var=%%G
echo %var%
)
...
Is there a way to get a list of globally available shortcuts on a Windows system, including 3rd party software?
Random examples:
WndHop - winkey+enter to move a window between monitors
Dexpot - ctrl+spacebar to open task switcher
Launchy - alt+spacebar
My goal is to track down shortcut conflicts. Most of the above software can be ...
Can someone tell me why after executing .bat script only first mvn deploy command is executed and then execution close. Why all command are not executed?
set GROUP_BASE=com.oracle.jdeveloper.jars
set VERSION=10.1.3.3.0.4157
set JDEV_HOME=C:/Oracle/jdevstudio10133
set REPO_URL=http://localhost:8081/nexus/content/repositories/thirdparty
s...