We have an application which uses an OpenGL render context in a subwindow to display a large bitmap. However, when a user remotely connects to a box running this app, the openGL display stops working, most likely due to the reduced texture resolution.
While we can detect the remote desktop connection starting/ending using WTS_REMOTE_CO...
Did Jetty 7 drop support to run as a service using Java Service Wrapper?
What options do I have now?
...
I want to programmatically determine if the current user (or process) has access to create symbolic links. In Windows (Vista and greater), one cannot create a symbolic link without the SeCreateSymbolicLinkPrivilege and by default, this is only assigned to administrators. If one attempts to create a symbolic link without this privilege, a...
I wrote a menu where the total width of the buttons should be always the same width of the menu bar. So i take the whitespace and devide it over the buttons.
It works on:
Windows: FF IE6 IE7 IE8
Mac: Safari Chrome
But it doesnt work on Firefox on the Mac can does anyone have an idea?
The example can be found:
http://www.bobkarreman...
Hello.
Is there a way / tool to simulate Amazon's SimpleDB for the purpose of development?
In my quest for above, I found this tool but this is for the Mac OS. Anything that can be installed on Win XP? Needless to say, all SimpleDB APIs need to be supported.
Just in case it matters, mine is a .Net based web application.
...
Do I need a mutex if I have only one reader and one writer? The reader takes the next command (food.front()) from the queue and executes a task based on the command. After the command is executed, it pops off the command. The writer to the queue pushes commands onto the queue (food.push()).
Do I need a mutex? My reader (consumer) only e...
I have a design question. Is it better to define separate classes for SENDING and RECEIVING. Or, is it better to define a single Thread class? I like the idea of a single Thread class because it is easier to share a queue which can be locked by mutex.
Design Option #1 (Separate):
mySendThread = new SendThread(); // Have thread properti...
I have monodevelop running great except for the fact that I need to get the "Subsversion Add-in for Windows" and my work proxy is blocking the repo. Any idea of how I can specify the proxy info so I can get to the repo?
...
Hello I am trying to change the behavior of the windows xp ctrl alt del key in certain scenarios throught Gina. Specifically I want to unhook the custom dialog that appears on ctrl alt del that was implemented in legacy code, and have my task manager back. Would someone point me at the right direction please?
...
In various c++ code you often see different usage of strings: PWSTR, char*, std::string, CString, etc ...
When is the best time to use PWSTR as compared to any other string type?
...
I'm curious as to how WMI works. Particularly, I am currently using WMI to query for the physical monitors via "Select * from Win32_DesktopMonitor" as it has consistently given me the correct result across multiple platforms since I want to know the count of physical monitors and not virtual monitors returned by functions like GetSystem...
I have a .NET/native C++ application. Currently, the C++ code allocates memory on the default heap which persists for the life of the application. Basically, functions/commands are executed in the C++ which results in allocation/modification of the current persistent memory. I am investigating an approach for cancelling one of these f...
Hey All,
assuming I'm running a small shop (3 devs) and using a Windows 7 machine as a centralised Git and IIS server what is the easiest way to get CI up and running?
This must be locally hosted CI (no github, no remote servers).
I'm doing C# .Net development with Visual Studio 2008.
Any help on getting this running with the minimum...
I'm building a product that involves
a windows service caching data on the local machine,
user processes reading that data and writing their own data,
the service in turn writing back that data to a server.
Where should I put the data files for this, such that they'll be shared by all users and read/writable? The software will op...
Hi. My Procedure last day as below
Click Start, Run and type Regedit.exe
Navigate to the following branch:
HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor
In the right-pane, double-click Autorun and set the startup folder path as its data, preceded by “CD /d “. If Autorun value is missing, you need to create one, of type...
I have a motor, connected to a motor
driver, connected a windows XP
computer by a CAN-BUS (through USB I believe).
I want to "talk" to the motor driver
and have some questions:
Does the USB appear as a COM port?
What protocol do I
use or how do I find out what
protocol to use? Or how do I talk to it?
Does anyone
ha...
What's the best way to enumerate the child processes of the currently running process under Win32? I can think of a couple of ways to do it, but they seem overly complicated and slow. Here's the requirements for the solution:
Specifically I need to know if any there are any processes currently running which were started by the current ...
Hi all,
I'm trying to install Thin on Windows (ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]) but get an error message:
C:>gem install thin Building native
extensions. This could take a
while... ERROR: Error installing
thin:
ERROR: Failed to build gem native extension.
C:/rails/ruby/bin/ruby.exe extcon...
What is the difference between CreateThread and beginthread APIs in Windows? Which one is preferrable for thread creation?
...
I have a cursor what the size size 128x128, but when i used LoadCursor to load and show it, it only has 32x32. Which API can make it correctly? It seems MS resize it. Thanks.
...