windows

ipod touch / iphone development on Windows?

Possible Duplicate: iPhone development on Windows Is there any way to develop for the iPod touch or iPhone on a Windows system? Months later: does anyone else think it's funny that this question has 4,500 views but only 2 upvotes? :D I vote to close as duplicate of http://stackoverflow.com/questions/113547/iphone-develop...

Not getting all windows messages in MFC ActiveX Composite Control

Hi, I have a composite control with a declaration like this: class ATL_NO_VTABLE CFooCtrl : public CComObjectRootEx<CComSingleThreadModel>, public IDispatchImpl<CFooCtrl, &IID_IFooCtrl, &LIBID_FooLib>, public CComCompositeControl<CFooCtrl>, public IPersistStreamIni...

Windows Explorer "Command Prompt Here"

I frequently find myself with a folder open in Windows, wishing to have a command prompt open with the same working directory. I am aware of Power Toys "Command Prompt", but that only works as a context menu item on the folder, and not from inside the folder if you are already there. I know you can navigate to the parent directory, and...

How to speak SSL from a Windows MFC client?

Hi, I've an MFC application that currently uses CAtlHttpClient to query a web server for some information. I'd like to change this so that the query goes over securely, with server authentication, using SSL. Googling reveals that Microsoft has changed the way they support this several times, e.g., WinInet, WinHTTP, but for the life of...

Enumerating USB Devices on Windows with Java

In a previous SO question, it was mentioned that USB devices can be mounted using the following approach in Windows: MOUNTVOL C:\USB: \\?\Volume{ebc79032-5270-11d8-a724-806d6172696f}\ My question is what is that String starting with \\?\Volume called, and what is the best way to retrieve that. I would rather not use .NET if possible si...

What is a lightweight cross platform WAV playing library?

I'm looking for a lightweight way to make my program (written in C) be able to play audio files on either windows or linux. I am currently using windows native calls, which is essentially just a single call that is passed a filename. I would like something similar that works on linux. The audio files are Microsoft PCM, Single channel...

SEL_E_SECPKG_NOT_FOUND error from AcquireCredentialsHandle()

Hi, I get the above error when trying to run the code from Microsoft's Secure SOAP sample http://msdn.microsoft.com/en-us/library/s2ya483s.aspx The call, from M'soft's code, seems to be correct: Status = g_Sample_SecurityInit._SecurityFunc.AcquireCredentialsHandleA( NULL, // Name of principal UNISP_NAME_A...

Identify process using a file

I have been trying to figure out how to programmatically identify the process that has a lock on a particular file. I've searched through the Win32 API and WMI, but so far I can't find anything. I know it's possible - Sysinternals is able to list every resource accessed/locked by every process on the system. Can anyone drop me a hint?...

The best way to resolve display username by SID?

I read a list of SID from the registry, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. How to resolve the display username (e.g. DOMAIN\user, BUILDIN\user) by a given SID string in C#? ...

Speeding up text output on Windows, for a console

We have an application that has one or more text console windows that all essentially represent serial ports (text input and output, character by character). These windows have turned into a major performance problem in the way they are currently code... we manage to spend a very significant chunk of time in them. The current code is ...

How do I get PIL to work when built on mingw/cygwin?

I'm trying to build PIL 1.1.6 against cygwin or mingw whilst running against a windows install of python. When I do either the build works but I get the following failure when trying to save files. $ python25 Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "li...

x86: Possible to debug-break when a particular pointer-to-string is pushed on the stack?

Hi, I am debugging a third-party DLL for which I don't have the source code. This DLL maintains a pool of strings. I want to trap the earliest occurrence at which one of these strings is passed into a function...any function at all... In other words, I want to detect when a pointer-to-a-null-terminated-string having a certain format is...

What programming language was Windows Vista programmed in?

Which programming language(s) were used to code Windows Vista? ...

Problems installing .NET Services from InstallShield 2009 MSI - Custom Action did not close 1 MSIHANDLEs

I am using InstallShield 2009 to generate an MSI for a codebase I have inherited. The code is comprised of VB6, and .NET 2.0 code (C# and C++). I'm developing and installing on Windows XP SP2. I created the Install Shield project (call it "MyClient.ISM") by reverse engineering it from the MSI provided by the previous team. Their configu...

Controlling where (x,y) of a newly opened window in Delphi 2006

I'm trying to control the coordinates of where my program opens a new window because currently they're opening ontop of each other. Does anyone have a working example of how to do this? ...

Integrate with the Windows Shell

OK, I want to create a windows shell extention that sits in the file menu much like the "Tortorise SVN" menu. Does anyone know where I'd begin, a good article, or what interfaces to implement? Thanks! ...

how to get batch file parameters from Nth position on?

Further to How to Pass Command Line Parameters in batch file how does one get the rest of the parameters with specifying them exactly? I don't want to use SHIFT because I don't know how many parameters there might be and would like to avoid counting them, if I can. For example, given this batch file: @echo off set par1=%1 set par2=%2 s...

System Resorce Monitor/Graph

I'm looking for a app that does about the same thing at the Performance tab on Task Manager but on a per-process bases and with more plotted valuse. At a minimum I would like to be able to plot CPU and memory usage but it would be nice if it could plot: Network usage File system IO (per drive/share sub headings would be nice) Open file...

Launching java classes via windows drag-and-drop

I have a java class file with a main method. In Windows, I would like to be able to drag files onto a desktop icon/short/etc that would call supply the filenames to my main method. Basically, I want to allow users to drag-and-drop files at program execution instead of having type them on the command line. Any thoughts? ...

How do you handle scheduled tasks for your websites running on IIS?

I have a website that's running on a Windows server and I'd like to add some scheduled background tasks that perform various duties. For example, the client would like users to receive emails that summarize recent activity on the site. If sending out emails was the only task that needed to be performed, I would probably just set up a s...