If I try to compile a program with
#include <pthread.h>
in it, I get the error:
pthread.h: No such file or directory
Is it possible to get this to compile in a Windows environment?
I am using Vista with the latest mingw
I do not want to use the Microsoft Windows Services for UNIX Version 3.5 as I will have to move this to a Unix en...
I would like to see what is in the cache at any given time. Is there a way to check what's in the cache?
...
Hi,
I've recently moved my development from linux to windows 7 with the purchase of a new laptop. I have noticed that there are some problems, with my once working Lucene searches.
My Searches are not returning results that they were when running on linux, and there are some issues with other code, which I am working through debugging....
I am trying to run Cygwin, and I am running into some problems. I tried to compile a program that works both on Windows with mingw and on a Unix system, but when I go to compile it through Cygwin:
gcc threads.c -o threads
I get the error:
this application has requested the runtime to terminate it in an unusual way
And that's it... a...
Starting from scratch, would like to create an ftp application using WinInet.
Looking for a real basic example in C++ that will compile and get me started.
Thanks.
...
I am working on learning Windows Forms with C# and have a bare bones application. I am trying to close it when the user selects File->Exit. I have an event handler attached to it and I have tried calling Application.Exit(), Application.ExitThread() and just closing the form. Nothing. It stays there. I'm not creating any other Threads of ...
I am trying to start a process programatically from windows service written in C#. i see my process having started in the task manager but i dont see its UI.
Any idea whats going on? i am running this on windows xp
clientProcess = new System.Diagnostics.Process();
clientProcess.StartInfo.FileName = system_drive_path + @"\sd\ud\ud...
Hi all,
A situation I have under Windows XP (SP3) has been driving me nuts, and I'm reaching the end of my tether, so maybe someone can provide some inspiration.
I have a C++ networking program (non-GUI). This program is built to compile and run under Windows, MacOS/X, and Linux, so it uses select() and non-blocking I/O as the basis f...
I am investigating a strange problem with my application, where the behaviour is different on 2 versions of Windows:
Windows XP (32-bit)
Windows Server 2008 (64-bit)
My findings are as follows.
Windows XP (32-bit)
When running my test scenario, the XML parser fails at a certain point during the parsing of a very large configuration...
I need to look for an example of a web application, preferably ASP.NET but any otherweb language will do, that lets Mac and Windows users change their AD password.
Any technique, application, or source code will be great.
P.S: our Macs are not connected to AD and we also have Windows users.
Thanks!
...
Hi All,
Is it possible to programmaticaly configure COM+ service.
I need to do the following using C# or any script
Open Administrative Tools -> Component Services
Expand Components Services -> My Computer -> COM+ Applications
Right Click HyperV Environment Manager(COM+ service name) andselect Properties.
Click on Pooling & Recyclin...
I am charged with an old BASIC program that needs to be altered to activate microphone recording on a specific keypress. I'm having trouble finding out how.
Anyone here able to shed any light?
Thanks for any help.
Edit: I'm pretty sure it was originally written for GW-BASIC.
...
What kind of SCTP support is there on various Windows versions?
...
Just wondering if anyone else has spotted this:
On some user's machines running our software, occasionally the call to Win32 winsock gethostbyname fails with error code 11004.
For the argument to gethostbyname, I'm passing in the result from gethostname.
Now the docs say 11004 is WSANO_DATA. None of the descriptions seem to be relevan...
Hi,
how can I detect if executable requires UAC elevation?
So far I came to two ideas:
picture recognition of executable's icon to check if UAC shield icon is on it
and information from wikipedia:
http://en.wikipedia.org/wiki/User_Account_Control
it is possible to programmatically detect if an executable will require elevation by ...
I have a single-threaded application that uses COM objects. At the beginning I in effect call CoInitialize(0) twice - once in my code and the second time in the code of another subsystem of the application. The first call returns S_OK, the second returns S_FALSE - exactly as MSDN says.
When the application stops it calls CoUninitialize(...
I'm running Windows and I'm trying to refer to a directory. My function starts off like this:
File file = new File("C:\\somedir\\report");
if (!file.exists()) {
file.mkdirs();
}
doStuffWith(file);
I got a NullPointerException within the doStuffWith function, when I tried to call listFiles. Well I looked in C:\somedir and what did I ...
Hi,
I would like to know how you upgrade PHP in Xampp for Windows? I tried to download the latest PHP version from the main PHP site but when I check (phpinfo) I still get that the previous version is still in use.
Please advise.
Thanks
...
If I have a UserControl hosted in a Window that looks like:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Grid>
<ContentPresenter Content="{Binding}" />
</Grid>
</Window>
How do I set the Window.Title from the UserControl?
An ad...
All right, I've hit a bug that has simply confused the bejeebus out of me. I'm looking for ideas about what it could be that I can investigate, because right now, I got nothing. It goes something like this:
I have a standalone Java application that occasionally needs to twiddle the Line-In volume of the computer it's running on (a Win...