windows

Can I call select on a datagram socket without using blocking I/O

Can I call select before recv_from on a socket that is blocking? ...

download simlple script to encrpyt data sent between two systems

my project supervisor has requested i submit a computer security script to encrypt data sent between two systems. i dont have time on my hands to learn java or c++ please assist ...

how to check group membership of an "NT AUTHORITY\" account ?

[1] informs: Local System account. The name of this account is NT AUTHORITY\System. It is a powerful account that has unrestricted access to all local system resources. It is a member of the Windows Administrators group on the local computer How to determine/check membership of "NT AUTHORITY\" account, such as NT AUTHORITY\SY...

How to get Add/Remove Programs - "Support Information" for a program programatically

I'm writing a program and I need to get the version number and publisher programatically. If I go into add/remove programs and select a program I can then click on "Click here for support information" (most programs honour it) and it will then bring up a version number and a publisher for the selected program. I am currently getting the...

Top level Layered window problem in minimize/restore animation

Hi, Many application are using multi-top-level windows. One of the good example is for layered window: if application need a real transparent control, the best way under MS windows is to use layered window(win32 programming, no WPF). But Layered Window must be top-level window. The problem happens during you restore a minimized applicat...

Some basic questions about the DLL file.

When does Windows Operating System load a DLL into memory? Does the operation occur when the application starts or when the application first calls one of the procedures in the DLL? Could a DLL be unloaded once it has been loaded? ...

Touch Screen Simulator: Are there any windows simulator to test application in touch screen environment.

Hi, I want to test my application in touch screen environment. My application is a web site build in asp.net(.net framework 3.5) and flash. I want to test my application with the simulator with Windows XP/Vista/7. Please let me know is there any simulator released by Microsoft or any third party where I can test my application. Thanks...

Datasource of Datagridview is null

I am populating a datagridview with objects like this: foreach (NavField field in this.Fields) { DataGridViewColumn column = new DataGridViewColumn(); column.HeaderText = field.Caption; column.Name = field.FieldNo.ToString(); column.ValueType = field.GetFieldType(); ...

Subversion Backup

Hi, I've read a few posts about backing up Subversion (on Windows) in particular this post. It was my intention to simply do a backup of the folder where my repository is located each evening to a network share. I'm now guessing this is not sufficient? My checked out source code folder is 412MB yet my repository is only 287MB. Any sug...

Something faster than GetSystemTime?

I'm writing a DDE logging applet in visual c++ that logs several hundred events per minute and I need a faster way to keep time than calling GetSystemTime in winapi. Do you have any ideas? (asking this because in testing under load, all exceptions were caused by a call to getsystemtime) ...

Http file download problem with IIS 7

I'm having a virtual directory that holds videos of format MP4. My problem is that i'm not able to access some of the "mp4" file via http. But i can browse and play the file through the shared folder not via http. I added the MIME extension for MP4 also. Please find the event log as below Log Faulting application w3wp.exe, version 7.0....

How can I complete the process in Win32 on behalf of the process in Perl?

For example, to have rschit process excell.exe means Perl. ...

Equivalent of svn import via Team Foundation Server command line

Subversion's svn import command allows repeatedly importing an external directory tree into source control. It's also important to note the original directory tree is not modified, ie it does not become a checkout/working directory. What is the equivalent in TFS 2010 (Team Foundation Server), using the command line? ...

getting started with Single Sign On / Windows Authentication

First off, The Problem: We have a Web App with a Flash front-end that talks to our ASP.NET web service via SOAP which then deals with all of our server side code (C#). Right now, we implement a simple user sign on in our application, storing the info in our MSSQL DB. A client has requested what I understand to be Windows authenticati...

Display window no matter desktop state

What would I have to do to make a web page be displayed no matter the status of the desktop including logged on/off or locked? The web page in question is a javascript banner for an alert system. It works fine if the user is logged on right now, but I want it to display no matter what. Would making it a service work? ...

windows c++ DNS lookups

I have a windows C++ application (mingw, but I guess it doesn't matter). I need to do very occasional obscure types of DNS lookups, such as TXT and AXFR. The best I can do at the moment is using gethostbyname in winsock, but that doesn't support the above types :(. Does anyone know of a nice library that runs on win32 for DNS lookups? ...

How to access WinRM in C#

I'd like to create a small application that can collect system information (Win32_blablabla) using WinRM as opposed to WMI. How can i do that from C#? The main goal is to use WS-Man (WinRm) as opposed to DCOM (WMI). ...

Searching by extensions in specific Dir C++

In specific directory i need to find all files with some specific extension (for example .log) and than save it somewhere. In need only c++ solutions cause i'm trying it on win 2003 server and c++ is my restrictions. Thank you very munch ...

How do I get this DataSet to add my new rows and update correctly?

Hi. I'm new to C# and .NET in general, coming from a FLOSS background (mostly PHP, Python and Ruby). I have used the Data Source configuration wizard to connect to an MDB file (unfortunately need to do this, as the app this is being used with was written over 5 years ago, and is currently a VB6 app connecting to an Access database). The ...

Tracking development and staging environment

I'm working in a small development shop that maintains a fairly large number of custom software products. They have 3 environments -- Test, Staging, and Production where software is run from. The vast majority are web applications (ASP.NET) while a few are scheduled applications or Windows Services. The applications all interact with ...