windows

SOS: AudioFormat when writing to file in FreeTTS

Very annoying problem. I have developed a freeTTS application of the freetts class that write captured audio to file however I am having some very annoying problems. When setting the audio player to singlefileaudio player I try to also set the audioformat with my own default values for sampleRate, sampleSizeInBits, channels, signed and b...

Any way to programatically trigger global mediakeys in Windows using Java?

Is there any way to programatically trigger global mediakeys in Windows using Java? I want to trigger the global hotkeys that mediaplayers are listening to. Is this possible in Java or maybe in C#? ...

OpenSSL Windows x64 Compilation error

Hi, I'm getting the following error when trying to compile OpenSSL 1.0, 64 bit: ias -o tmp32\ia64cpuid.obj tmp32\ia64cpuid.asm 'ias' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'ias' : return code '0x1' Stop. Does someone know what can I do? (I do it on Windows ...

Is there a way to access the locale used by gettext under windows ?

I have a program where i18n is handled by gettext. The program works fine, however for some reason I need to know the name of the locale used by gettext at runtime (something like 'fr_FR') under win32. I looked into gettext sources, and there is a quite frightening function that computes it on all platforms (gl_locale_name, in a C file ...

What segments does C compiled program use?

Hi, I read on OSDev wiki, that protected mode of x86 architecture allow you to create separate segments for code and data, while you cannot write into code section. That Windows (yes, this is the platform) loads new code into code segment, and data are created on data segment. But, if this is the case, how does program know it must switc...

Can anyone suggest a Java or Scala DOS/terminal-based UI framework?

I'm looking for some framework to build an interface like Turbo C. ...

Moving from Windows to Ubuntu.

Hello there, I used to program in Windows with Microsoft Visual C++ and I need to make some of my portable programs (written in portable C++) to be cross-platform, or at least I can release a working version of my program for both Linux and Windows. I am total newcomer in Linux application development (and rarely use the OS itself). S...

Getting started with PHP on Windows

I'm getting started with a side project that will be developed using PHP and I'm looking for guidance on getting my Windows machine up and running and ready for development (as quickly as possible). Being that PHP development is more geared towards Linux users/developers (which I am not), I'm trying to figure out how to get all the piec...

Batch to move files in a folder to another folder?

Hello People, I want to create a batch file that moves all the files in this directory to its father directory. Like for example if I have a directory " Something " that contains files : ...New Folder/Something And I want to move the files in " Something " to New folder. Is there such a command? Thanks a bunch :) ...

Windows Programming: ID2D1Bitmap Interface - Getting the Bitmap Data

I've been writing my own library of functions to access some of the new Direct2D Windows libraries. In particular, I've been working on the ID2D1Bitmap interface. I wanted to write a function to return a pointer to the start of the bitmap data (for the editing of particular pixels, or custom encoding or whatever else I might wish for in ...

Best programming language to write a screen recorder in?

I'm looking to write a screen recording application for both Mac and Windows. It doesn't necessarily need to be the same app written for both, it can be two different applications written for each. What is the best language to write one in? I want to achieve at least 12 FPS. Thanks! ...

How to list all installed ActiveX controls?

I need to display a list of ActiveX controls for the user to choose. It needs to show the control name and description. How do I query Windows on the installed controls? Is there a way to differentiate controls from COM automation servers? ...

How to return the handle of a window when we click on it, without any DLL injection?

Hello! For one of my projects, I need to create a function that will return a handle to a window when the user click on it (any window displayed on screen, and anywhere inside that window). I know it is possible to use a global hook, but I think there must be a more simple way of doing that, without using any DLL injection. In fact, I ...

Importing a C DLL's functions into a C++ program

I have a 3rd party library that's written in C. It exports all of its functions to a DLL. I have the .h file, and I'm trying to load the DLL from my C++ program. The first thing I tried was surrounding the parts where I #include the 3rd party lib in #ifdef __cplusplus extern "C" { #endif and, at the end #ifdef __cplusplus } // ext...

Console output window in DLL

Hello, I am trying to redirect the output from my DLL to an external console window for easy debugging. I have been told about AllocConsole but I am not able to reproduce it, i.e. the console window does not appear. My current environment is Visual Studio 2005. I tried the following example which is gotten off the Internet, AllocCon...

Timer running status in windows forms

In Windows Forms, How to check whether the timer is running or stopped? ...

Deleting columns with rows values from data table

I want to delete specific column from my datable before bounding it to a grid view. I tried with finalTable.Columns.RemoveAt(0); finalTable.Columns.RemoveAt(1); but it does not delete rows values belonging to that column.. How can we delete column with row values?? EDIT: After bounding it to gridview rows are displayed in 3rd colu...

R: Is it possible to use RGL in x64 Windows?

Is it possible to use the R package 'RGL' in x64 Windows? RGL Website ...

Monitor Windows API withOUT drivers or injection - Can it be done?

I have a list of a few windows API I would like to monitor on both 32 and 64 bit versions of Windows. Now, there are two basic approaches to this - Kernel based system wide hook driver - which won't work on Win 7 64 bit. And I'd like to refrain from using kernel drivers where possible in any OS. DLL Injection into specific processes....

Microsift.jet.OLEDB.4.0 not registed - error

hi i try to run my program on Windows 7 64 bit and i got this error when i try to connect to access database Microsift.jet.OLEDB.4.0 not registed i even installed access 2007 on this computer thank's in advance ...