windows

Where to get compiled version of gccxml on windows?

Can anyone point to a place where I can get a compiled version of gccxml on windows? ...

Spawn a background process in Ruby on Windows?

I am basically asking the same question as http://stackoverflow.com/questions/2504445/spawn-a-background-process-in-ruby, except I need to spawn a background process in a Windows environment! Unfortunately, my research has revealed that Windows doesn't support Ruby forks (only spoons. Rimshot!). ...

Stremaing a wav file to embedded Windows Media Player (wmp)

Hello, I have some questions about wav files (located in virtual directory in IIS) and streaming to an ASP.NET web page with an embedded Windows Media Player. 1) Is the wav file streamed or does playback wait until the whole file is downloaded to the client? 2) If wav files are not streamed what are some options to do so? 3) For secu...

Tool to extract theme parts

I'm looking for a tool to extract the theme parts and save them as pngs. By this I mean, Pushbutton, Start orb, etc. I found an application that can display the theme parts but I cannot save them into a format with an alpha channel. Thanks ...

Keyboard repeat count

Hello i am having trouble utilising the repeat count parameter of the msg WM_KEYDOWN ... using visual c++ 2008 for some reason or the other the repeat count of the msg does not increment if the key is held for long.... for eg if i use this code:: ---------- *TextOut(hdc,cxChar*2*(sizeof(szBuffer)/sizeof(TCHAR)),i*cyChar,szBuffer,wspri...

Hardware-neutral library to sync with smartphones?

I'd like to know what the status is to sync data (eg. SQLite, etc.) from Windows with smartphones. Ideally, the same tool should support the main smartphones (iPhone, BlackBerry, Windows Mobile, Android). Google returned information on OpenSync and SyncML, and I'd like to ask experts whether those projects are ready for showtime, and if...

How to get correct hDevMode values from CPrintDialogEx (PrintDlgEx)?

I'm displaying a CPrintDialogEx dialog to choose a printer and modify the settings. I set the hDevNames member so that a default printer will be selected, but I leave hDevMode set to NULL. On successful return I pull some values such as paper size out of the returned DEVMODE structure from hDevMode. I'm having a problem because hDevMode...

php serverside printing

Hi I would like to print off a report server side and not client side. I saw that php_printer.dll is how you used to do it but I could not find a binary file for it. How would I print server side. This is for an inventory system where the form will be filled out on the floor and than automatically printed in the stock room. ...

PHP - HTTPS SSL Applying

Hi, How would I apply SSL HTTPS to my PHP Login system. My login system is basic here is how it goes: Fetches session and user then checks if its correct. I'll need some kind of SSL/HTTPS checking. Any examples? ...

ASP Image gallery / sales option

Can anyone recommend a good image gallery, with password protect-able galleries? The website I am looking to install it on is a wedding photographers site so she can upload te weddings for her clients to view, the site is on a shared windows server with 1&1. Thanks in advance for any ideas :) ...

Cannot jump to newer position in jump list

For some reason, I cannot jump forward with <C-I>; gives me the error beep. <C-O> works just fine. I don't see any remapping going on either. Any ideas what might be the problem? I'm using vim 7.3 on win7 EDIT: I just found out <C-I> does the same as %! I still can't figure out how to fix it though. ...

How do you undo a hard reset in Git Gui or Gitk on Windows?

I'm using Git Gui and Gitk on Windows. How do I undo a hard reset from within the past two hours? (Is it possible to do this from these applications, without using the command line?) I saw this SO post, which says that undos are possible before git's garbage collection occurs. I might have quit and reopened one or both of these applica...

.bat script copy into System32 gives Access Denied

I'm writing a .bat script where I need to copy a file to System32. I change to the folder then attempt to copy the file from a storage folder to the System32 folder. cd C:\Windows\System32 copy %~dp0file.txt file.txt I get an error Access Denied, 0 files copied. I see why this is a problem, because if I try to copy a file to Syste...

How to package JRuby programs for Windows as one-click executables

I'm porting a Ruby program to Windows, and I really need a super-simple package - something that user downloads, unzips, doubles clicks the obvious program file, and it's running. Without having to install JRuby, or even Java if it's possible. Or possibly downloads, runs installer, confirms a few silly questions, and selects obvious pro...

Problem with compiling the Windows Filtering Platform Code ....

Problem with compliation of the code ?? (I am new to developing drivers, have modified the inspect sample and ran some code successfully but is there any alternate way other den modifying sample code provided) #include<windows.h> #include<fwpmu.h> #include<stdio.h> #pragma comment(lib, "Fwpuclnt.lib") // Some application to use f...

Mercurial for Windows - Python version?

What version of Python is needed to run Mercurial? I see that the website says it requires 2.4. Does that mean 2.4, or 2.x? or something higher than 2.4, i.e., could I install 3.x? I've installed Mercurial without reading the requirements and I installed it anyway and hg.exe executes fine. Looking in the directory that hg.exe lives (C:...

CMake with Visual Studio

I'm using CMake to create a visual studio project as I'm making a cross platform application and library, but I get errors like: 1>c:\program files\microsoft visual studio 10.0\vc\include\wchar.h(109): warning C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member '_wfinddata64i32_t::attrib' It compiles fine on GNU/...

Preventing too many LoadLibrary/FreeLibrary.

Hi. I'm writing a proxy library (called Library A) that is just an interface to another DLL (called Library B) that may be present or not on the system. The idea is that a program would link to this library A instead of the original library B ; and Library A would handle the errors if Library B wasn't installed on the system. So a typi...

How can I add a variable to a batch file?

Hi all I am new to batch files and struggling.I am using sql server 2008 I have created a single batch file that execute other batch files + sql scripts. I would like to use variables how can I do that? I would like to set the path as a variable. I could have more than one path depending on the script's location. :On Error exit CAL...

faster than Stackwalk...

Hi! Does anybody know of a better/ faster way to get the call stack than "StackWalk"? I also think that stackwalk can also be slower on methods with a lot of variables... (I wonder what commercial profilers do?) I'm using C++ on windows. :) thanks :) ...