windows

Can someone please explain COMTIMEOUTS for me?

Hi, I have an application that has strict timing. Inter-character delay must be no more than is 0.15s The messages themselves are quite small. 10 - 50 chars I don't understand what ReadTotalTimeoutMultiplier and ReadTotalTimeoutConstant actually mean in practice. The math in this example doesn't work? http://www.lookrs232.com/com%5...

Visual studio embedded web server bind ip address

By default, the embedded web server of VS 2008 starts on address 127.0.0.1. Due to some complex network configure issue, I have to start the web server on the IP of host(i.e. 10.46.30.240). What I want to know is if this is possible with VS2008 configuration, Or I have to do some Windows 2003 hacking to achieve this? Thanks. ...

How to make a Video "mini/filter-driver"

Hello everyone I need to create an application/driver in Windows that captures the video stream from a webcam, performs some modifications and passes it back on to the system (so it streams out to say skype). Anyone knows how to create / register such an app ? Maybe samples on the web ? Thanks in advance ...

Finding file size windows MFC application

Hey guys, I Am working on windows MFC application C...I am preparing a report list in my design using CListCtrl were i can list the name,size,type and modified date of the file..I dont know how to display the size of a file..do any one know how to do that..it will be helpful for me thanks in advance.. ...

How to run a PowerShell script without displaying a window?

How is it possible to run a PowerShell script without displaying a window or any other sign to the user? In other words, the script should run quietly in the background without any sign to the user. Extra credit for an answer that does not use third party components :) ...

Windows installer project - control progress bar from within custom action

How do I control/update the UI progress bar when running length custom actions on a C# deployment project? ...

running application on client machine

Hello, I have developed two applications, one ASP.NET web application (myWebAppl) and one windows application (myWinAppl). myWebAppl Details : This application has two web pages myPage1.aspx and myPage2.aspx. myWinAppl Details : This is a single instance windows application, which accepts some parameters. Now from myPagep1.aspx (depen...

Fluid NumericPad Issue

using Fluid.Classes; using Fluid.Controls; using Fluid.Drawing; using System; using System.Linq; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Windows.Forms; namespace SmartDeviceProject8 { class ConversionPage : FluidPanel, ICommandContainer { private NumericPad numPad; priva...

_setmaxstdio max open files is 2048 only?

http://msdn.microsoft.com/en-us/library/6e3b887c%28VS.80%29.aspx is there a way to have more than 2048 open files at a time per application using _wopen. 32 or 64 bit OS – same limit! ...

communicate with a process in utf-8 on a cp1252 consoless

I need to control a program by sending commands in utf-8 encoding to its standard input. For this I run the program using subprocess.Popen(): proc = Popen("myexecutable.exe", shell=True, stdin=PIPE, stdout=PIPE, stderr=PIPE) proc.stdin.write(u'ééé'.encode('utf_8')) If I run this from a cygwin utf-8 console, it works. If I run it from ...

How do I use RpcRaiseException() for good error handling?

There's RpcRaiseException() dunction in MS RPC runtime to indicate errors that occur during an RPC call either on the server side or in a pipe callback on the client side. The RPC_STATUS passed into RpcRaiseError() is propagated to the site of the RPC call. The problem is how do I choose the RPC_STATUS value? Say in a pipe pull() callb...

How can I access Blackfish for Windows over JDBC?

For Blackfish for Windows which is included in Delphi 2009 I would like to write a Java client and use a JDBC connection. If I understand correctly, this is supported: http://edn.embarcadero.com/de/article/36851 The database clients and servers are interchangeable. Windows clients can connect to Java servers and Java clients ca...

firefox open local link to directory with explorer

On a Website for our internal use i show links to local files and folders. the links are like this: href="file://C:/example/" href="file://C:/example/test.odt" The Problem is now that the link to the directory does open in firefox itself with a useless directory listing. Useless because you can just see the files or open them but not...

Socket: Client was disconnected or not?

I am creating socket server. But I do not know, How I can know client disconnected or not? I am creating server under Windows and using berkeley sockets function (read, send, connect....). Preferably I want a cross-platfomennoe solution (without WSA functions). I can write to socket 0 byte and ckeck error. But it is not good solution. ...

How can I use SQLITE with DJANGO on WIndows 7

I am following the tutorial on the DJango site, which I previsouly did using Windows XP and everything went fine, but on Windows 7 I get the following error: sqlite3.OperationalError: unable to open database file I use the following: python manage.py sql Blog Does any one have any ideas what might be wrong. The database file is lo...

Socket available data for read

I need fast method for check socket has available data for read. I use select(), but it is not fast. Is faster method exists? ...

Integrating a web based User Interface with a CMS existing in windows virtual private server.

How can we integrate a web based flash User Interface running on a linux OS with a CMS existing in windows 2003 virtual private server? Is that possible to do so? ...

C# Forms Picturebox to show a solid color instead of an image

Im making a little app to display the pictures of guests as they scan their cards. But i want to to display blank green or red (green if the guest exists without a photo and red if they dont exist) But i cant figure out how to create a blank colour image. Bitmap bmRed = new Bitmap(imgbox.Width, imgbox.Height, PixelFormat.Format24bppRgb...

realistic free TTS program

I have tried Festival, espeak, and MBROLA, but the voices are mediocre at best, and no where near as realistic as current commercial systems. For example this demo: http://www.acapela-group.com/text-to-speech-interactive-demo.html What is the most realistic free TTS voice you have tried? ...

prototype of int64_t or offset64 both linux and windows 32bits system

I am developing a application which needs functions of int64 variables. and i was told offset64 or int64_t is viable for my need... But i just wanna what is the prototype of int64 under 32bit system... How can i use the variable. is it a struction which consists of two ULONGs? thanx ! ...