windows

Windows 7 Taskbar Progress Bar in Java

Hi, I'd like to know if it is possible to make a progress bar displayed on the taskbar like Windows Explorer does when there's a file operation going on? I saw many examples, but they all involved C#. SWT won't cut it. ...

How to simulate the failure of MFC based GUI functions in Unit Test?

How to simulate the failure of Dialog Box, Window Creation Functions and other MFC System Functions in a Unit Testing Environment? Are there any tools or frameworks available? ...

What SCM does support symlinks under Windows and Linux?

I found out that subversion doesn't support symlinks under Windows. I'm wondering if somebody knows a SCM tool that is able to work with symlinks under both Windows and Linux? SCM tools currently missing symlink support under Windows: Clear Case Subversion Mercurial Perforce ...

How to write to I/O ports in Windows XP? (Delphi7)

I am trying to write to ports 0x60 and 0x64, with no luck. Delphi code: procedure PortOut(IOport: WORD; Value: BYTE); assembler; register; asm XCHG DX,AX OUT DX,AL end; Upon calling PortOut, I get an EPrivilege Privileged instruction exception, because IN and OUT may only execute as Ring0. I would like to know how I can get Ring...

how to make "choose file" function on windows programming?

I need this us all known "choose file" feature in my program, so i can load files. What is this thing called as and where is the code for it? ...

Problem with Ruby on Rails on Windows[msvcrt-ruby18.dll error] - newbie questions

Hi everyone, I have installed Ruby 1.9.1 recently. Everything went fine, I installed the devkit, gems, rails and decided to use RadRails IDE. But, when I typed "ruby script/server" command, I got the error message telling me that msvcrt-ruby18.dll was not found. Still, I was able to run the WEBrick server. I also tried to open "http://lo...

Need Resources on XAPO Effects for XAudio2

I've been working with XAudio2 lately. After going over the samples, example code, and more-sparse-than-I'd-like documentation available from Microsoft and the MSDN, I've found that there aren't any easy-to-Google resources on creating and using XAPO effects, nor any XAPO effects produced by third parties that I can download and/or buy....

What's wrong with installation of an application by copying Bin>Debug folder content?

For a testing usage of not very complex WPF applications I often don't make installer - just, after building project, copy Bin>Debug folder content of a VS2008 project folder to a hard drive of a user computer and put an icon to a desktop. No records to windows registry. Are there any drawbacks of such a way of using windows application...

how to get grep working in Emacs on Windows (EmacsW32)

M-x grep, M-x lgrep, M-x rgrep don't work in EmacsW32 for me. I do M-x lgrep and it says grep is not a command: grep -i -n "hello" * NUL 'grep' is not recognized as an internal or external command, operable program or batch file. Grep finished with no matches found at Sun Jan 31 05:59:06 Also what is that NUL thing? EmacsW32 homepag...

Compile gtk+ & gtkmm in Vista at cmd prompt

Hi Can someone please help me with compiling gtk+ (& gtkmm) at Vista cmd prompt? I have tried recently & cannot get this to work. I feel I have all dependencies and paths correct but I obviously haven't or am missing something! I have searched the internet but haven't found specific help for this (I am also trying to compile in cygwin- b...

Git gui clients on windows as nice as GitX on MacOS?

Hi, Can someone suggest for me only one git gui client on windows that is the same as GitX on Mac? (nice, easy to use, wonderful interface, etc...) I have tried some but I do not feel happy :p Thank you ...

Is there a better (more modern) tool than lex/flex for generating a tokenizer for C++?

I recent added source file parsing to an existing tool that generated output files from complex command line arguments. The command line arguments got to be so complex that we started allowing them to be supplied as a file that was parsed as if it was a very large command line, but the syntax was still awkward. So I added the ability...

Open a folder and highlight a particular file with WPF

Is there a way to launch an Explorer window and highlight a file in that folder with WPF ? I've already tried the following : Process ExplorerWindowProcess = new Process(); ExplorerWindowProcess.StartInfo.FileName = "explorer.exe"; ExplorerWindowProcess.StartInfo.Arguments = ConfigFile.File.FullName; ExplorerWindowProcess.Start(); ....

How to enter a second parameter on the same command line on Windows Vista ?

I'm writing a Java program to simulate a command line feeder, it runs DOS commands like this : "Java -version" fine, but for something more complex, such as asking for a second parameter, it won't work, I roughly remember in Unix there is something like : "abc | 123" or maybe it's "abc < 123", I wonder in Windows command prompt is there ...

Retrive List of hardware and software installed on remote machine in LAN. Which DLL to Use ?

I am trying to retrieve a list of all hardware like Device Manager and Softwares installed like in "Add and Remove Programs" on a remote system in LAN. Is it their any 1 or 2 dlls to include instead of all dll for each hardware. ? ...

Clarification on Binary file (PE/COFF & ELF) formats & terminology

I'm confusing little in terminology. A file that is given as input to the linker is called Object File. The linker produces an Image file, which in turn is used as input by the loader. I got this from "MS PE & COFF Specification" Q1. Image file is also referred to as Binary Image, Binary File or just Binary. Right? Q2. So, a...

net start command delayed ??

Hi, I have some slow embedded PC's running Windows 2000 and am having trouble starting a service reliably. There is a VERY noticeable delay between issuing the command 'net start xxx' and the message 'the xxx service is starting'. This is causing my service to fail to start. My service regularly fails to even receive a 'Start' command ...

Change Sub Form Based On Selected Option in C# WPF Project

I apologize for the poor title, I don't know how else to explain it. I have an interface like this (sorry can't post an image directly as I'm new). And I want to have the right side display controls based on the tree selection on the left. What's the easiest way to do this in a WPF project? Is there a better way to go about this? Than...

java- jar file cannot find resources

Hello everyone! I 'm working on a java application and in the program I use some files such as images, a local database and an .htm file (used as help file). I have tried to make the access to these resources, location independent. So I've made in the package that contains my source files, a subfolder named resources and I've put ther...

Link problem for Windows functions

I'm trying to test if standard library (kernel32.dll) have one of the function. Code snippet for test: extern void CreateProcessA (void); int main (void) { CreateProcessA (); return 0; } The code compiles and links as follow: cl /c test.c link test.obj kernel32.lib This code can be compiled well with Visual C++, but cannot lin...