windows

Create thread is not accepting the member functon

I am trying to create a class for network programming. This will create a general purpose socket with thread. But when I tried to creat the thread using createthread(). The third argument is producing errors. And from the net I came to know that I can't use the member functions as a argument to the createthread(). Is there any thing by...

Are there any executable compressors that work with 64 bit binaries?

Hello everyone :) I'm looking for a tool like Bitsum Technologies' excellent PECompact tool for compressing Windows executables, but which works with 64 bit binaries. Does such a tool exist? Note: I don't care about the supposed obfuscation such a compressor provides; I'd simply like to reduce the size of my binaries. ...

Split command across lines

In Linux shell, one can split a command across several lines using \. For example: cmd \ arg1 \ arg2 How can I do the same using Windows console? Thanks! ...

Using Python COM to select files in windows explorer?

Hi, Is it possible using Python COM to select files inside of the windows explorer? For example, I am trying to get all "*.txt" files inside of windows explore highlighted without having to select them with the mouse, or without other keyboard gymnastics. thanks in advance. ...

Monitor Yahoo! Instant Messages in Python?

I am trying to add some security to my computer at home and would like to have a copy of all Yahoo! IMs sent to me. I am using Python 2.6 on Windows. I would also like to have every URL in Internet Explorer sent to me. ...

How to make 2 executables communicate in both directions in Windows

Hello. I have 2 Windows console applications, reading from standard input and writing to standard output. I'd like to assume I don't have the source code to any of them (actually I usually have the source code of one of them). I want to direct the standard output of one to the standard input of the other and vice versa, thus allowing c...

Getting UI button's event in Windows Phone 7

Hello. I'm currently making a game in XNA4 for Windows phone 7, and I'd like to know if it were possible to get the event of the return button, or even the windows button that are basically present on the phone's interface. If so, how can i do that? thanks, KiTe ...

Key Event Handling in Windows Services C#

Hi! I want to create a windows service that may log pressed keys into files. For handling global key events I use hooks, hooks works great for desktop apps. But it doesn't work for the services. Is it possible to develop a windows service with key event handling? Developing on C#... Thanks for your time. ...

Simple number-to-number (or number-to-hex) encryption algorithm that minimizes # of characters

I need to encrypt a number and I and this encrypted value will be given to a customer ask a key so I want to minimize the number of digits and make them all printable. So I'd like the result to be either all number or all Hex characters. The current encryption method I'm using (for non numbers) converts the characters to hex (2 hex d...

How to send an IM in C or C++ on Windows

Specifically I am talking about using AIM and sending instant messages to an existing AIM screename. How would I accomplish this? I am trying to do it the simplest way possible -efficiency is not that important. I thought maybe all I would have to do is open a socket connections some how but I am probably wrong. ...

How to compile a svn python binding for windows from the source?

I'm setting up a new svn+trac environment, the svn server's version is 1.6.11, then I can't find any corresponding pre-compiled svn-python binding, finally I found the following thread: http://stackoverflow.com/questions/677252/python-svn-bindings-for-windows so, my question is: how to compile from these source? http://svn.apache.org/...

Make CMD sensitive to use with MySQL?

I have a cleanup scrip in a bat file and i wanted to do the below but the problem is i get a mysql error saying unknown database and showing it as testdb. I guess i can change my code testdb but i would like to know. How do i have windows cmd use case sensitivity so i can execute queries properly instead of always in lower case? mysql....

How to resize an image smoothly (with resampling) using Windows API calls?

I need to resize images and resample them so they don't end up all jagged (I think that's called aliasing). I found some code (sorry, lost the link) that does this in pure VB6 code but it's a bit slow (2-5 seconds) and I'm displaying pictures in real time so I need something faster. I seem to recall seeing some examples of doing this w...

Closing a MenuStrip programatically

I have a MenuStrip that I have added to a form, and in one of the dropdown menus in it, I have a text box. When I hit enter on the textbox, I want a function to run, then the drop down menu to close. I know how to get the enter part done, but I have no idea how to close the MenuStrip dropdown menu. Does anybody know how to do this? ...

Microsoft Driver Verifier

In Verifier Dialog, there is a window to select drivers to verify. The list control has 4 column. 1. Verify? 2. Driver name. 3. Provider 4. Version My driver's provider and version are represented as "unknown". I don't know how can I set these values. Where can I set this value? By SignTool? Or Resource file? Yes, this is not a big ...

How to create windows form to display properly in all monitors?

I have created a windows form using (vs.net 2008 and vb.net as programming lanugage). Functionality part is working fine as expected. My issues is that, when i run my application in different machines, the form display is not proper accross the monitory screen. In some machines i noticed extra space on leftside of the container. In som...

Is there a page or document which ALL Windows APIs sorted alphabet order?

Sometimes, I want to find a function by guessing a function name. I can't this at MSDN. Is there a good web page or a document? ...

How do I determine "Network Location" in .NET?

In Windows 7 (and Vista I think), a network you're connected to is assigned to a "location" e.g. Home / Work or Public. Is it possible to determine the current network location programatically? ...

How would I authenticate against a local windows user on another machine in an ASP.NET application?

In my ASP.NET application, I need to be able to authenticate/authorise against local Windows users/groups (ie. not Active Directory) on a different machine, as well as be able to change the passwords of said remote local Windows accounts. Yes, I know Active Directory is built for this sort of thing, but unfortunately the higher ups have...

using Eclipse to develop for embedded Linux on a Windows host

I got a question of using Eclipse to develop for embedded Linux on a Windows host Here are now I have and where I am. 1. a Windows host that have the latest Eclipse + CDT (c/c++ development tools) installed 2. a Ubuntu host (ssh + samba installed) that contains sources and toolschain to build the project. (the windows and ubuntu hosts ar...