I'm in the situation where I've installed the JDK, but I can't run applets in browsers (I may not have installed the JRE).
However, when I install the JRE, it clobbers my JDK as the default runtime. This breaks pretty much everything (eclipse, ant) - as they require a server JVM.
There's no JAVA_HOME system property these days - it ju...
PHP 5.2.8 is refusing to load php_pgsql.dll, with the following error:
Warning: PHP Startup: Unable to load dynamic library 'D:\PHP\ext\php_pgsql.dll' - The specified module could not be found.
in Unknown on line 0
The .dll exists in PHP/ext/.
Has anyone else had this problem with PHP on Windows before?
...
What do you recommend for quickly creating images for testing a software product (that needs hardware access - full USB port access)? Does virtualization cover this? I need to be able to quickly re-image the system to test from scratch again, and need good options for Windows and Mac OS.
...
What tools do you guys recommend for backing up files and SQL Server databases on Windows 2003?
I'm looking for tools to run daily backups of both files and SQL Server databases. Compress them up and stick them on NAS drives.
I'm looking for cheap / FREE options if possible.
...
I'm aspiring to work in real-time 3D graphics. I work almost exclusively in C++, with a healthy smattering of win32. Realistically, do I have any sane alternatives?
...
I have a .Net program that, as one of its functions, takes a file from a user-specified directory and puts it in another, special, directory, specified via UNC (which may or may not be local). I don't open any of these files in this part of the code.
There's this bizarre bug I'm having where, on a Windows Server 2003 SP2 VM, this progra...
Hi all,
I am looking to send a large message > 1 MB through the windows sockets send api . Is there a efficient way to do this , i do not want to loop and then send the data in chunks . I have read somewhere that you can increase the socket buffer size and that could help . Could anyone please elobrate on this . Any help is appreciated ...
I'm looking for some random crashes in an old c++ application. Using sysinternals process explorer, I noticed the app losing handles, and extracted the exact situation, where the program is losing handles to a very short piece of code.
DWORD WINAPI MyTestThread( void* PThread)
{
_endthreadex(0);
return 0;
}
int WINAPI WinMain( HINST...
As a precursor to writing a compiler I'm trying to understand the Windows (32-bit) Portable Executable format. In particular I'd like to see an example of a bare-bones executable which does nothing except load correctly, run and exit.
I've tried writing and compiling a simple C main function which does nothing but the resulting .exe is ...
We are developing a critical application and need to have the finest control over the documents printed. To be sure on which documents are printed or not we want to check the printer queue.
How can we query the print queue on Windows (status, queue list, errors, ...)?
...
I have a batch file that starts a Java process in a Windows 2003 server. As per the security policy, the users of that machine are logged off forcefully, if the user is inactive for a certain period of time. The problem is that when the user is logged out, the process also dies.
I scheduled a new task (Control Panel -> Scheduled Tasks) ...
I need a dialog tool similar to cdialog (or whiptail), but one that will work on Windows.
I have MinGW and compiling something from source is no problem, but both cdialog and whiptail, the only ones that I know of, contain code that is UNIX-specific, and so they will not compile on Windows.
Are there any alternatives that I can use? I...
I want a custom backgroud color on my PropertySheet based wizard. I can easily set the individual page background colours of the prop sheet pages, but there remains a border around each page in the client area of the overall wizard window with a different background color.
I can change the overall wizard background color by handling the...
I'm developing an OpenGL application for Windows XP. The target machine has 2 NVIDIA GeForce 9800GT video cards, which are needed because the application needs to have output 2 streams of analog video.
The application itself has two OpenGL windows, one for each video card. Each video card is connected to one monitor. As for the code, it...
If my .NET client uses System.IO.File.Copy to copy a file from \server1\share1\file1.txt to \sever1\share2\file2.txt, does the file's data get read down to the client and then written back up to the server? If yes, is there any way a .NET client can copy a file on a server to another location on the same server without round-tripping the...
I have a requirement in the project such that we have to stop a specific service say "x" in a remote machine (which is on the same LAN), change the registry key remotely and start the service again.
I tried the command sc \server stop service, but I got the error:
[SC] GetServiceKeyName FAILED 1060:
The specified service does n...
At Microsoft I can download the Windows Symbol Packages for XP, Vista, Server, even Windows 7.
My Problem is: how do I use these Symbols with Visual Studio? Where in VS 2008 can I add the downloaded and extracted symbols, so I can debug into Windows itself?
What I want to achieve: I want to debug _beginthreadex/endthreadex, to see why/...
I have been hearing about F# and Microsoft now have a guy who is blogging and coding away in redmond somewhere about it. Can you really write GUI code from F# (I'd love to see an example of say adding a button to a form and subscribing to the onclick event for instance)
Does F# have full access to all of .Net?
I'm honestly curious and...
My primary computer for programming is the same computer I use for gaming etc. So to increase speed while gaming I turned off services like Apache, MySQL, Subversion etc. from starting at boot as I use it about 50/50 for gaming/programming.
This is fine most of the time but it's a bit of a nuisance to start them all separately.
Could s...
On windows, I'm trying to acquire the file name using the %~f1 parameter.
I'm doing this from a new voice (command) which I've added to the contextual menu.
In the windows registry, the voice simply calls a batch script which prints the file name,
by this way:
`C:\script.bat %~f1`
but I get this output:
`C:\Documents and Setting...