i'm new to C++ as well as for windows programming..
i have created a window using msdn CreateWindow() function
which works correctly..now i would like to create a child window...the parent window should control the child window...
Any helps sample code regarding this .
Thanks in advance
...
I'm setting up a test bed where I am testing a device connection across multiple Windows OSs. I can't do it in a VM (cannot virtualize access to device) so I have quite a multi-boot system. I have a script to automate the process, but I want it go ahead and finish, selecting the next OS to boot and run its test.
One problem is that XP/2...
I am writing a batch script intended for handling some tasks in my (and a few colleagues) windows startup. The main thing that needs to happen is the killing of a few processes that do to this being a large corporate environment are started as default. They interfere with our work so we have to kill them... I know it's stupid but thats b...
I want to retrieve stack trace from a user dump file programmatically .
There is this user dump at known location and i want to extract just the stack trace out of it and put that in a plain text file - is there a way to do that ?
NOTE : I can do it manually - Open windbg and type "k" command - but
as i mentioned earlier i want to do...
Hi,
I'm using a communications program (Tera Term) to communicate with another computer through a dialup connection. I'll be sending a file with this software, but I would like to monitor the port (like PortMon) to measure the time it takes to transfer the file. Do you know any way of doing it without this software?
Thanks a lot
...
I have a PHP script that executes a .bat file using
system("cmd /c C:\dir\file.bat");
This launches an AWS server and returns info such as the id of the server started. I need to use this id in the script later on. How can I return the results from the .bat file to PHP and then how can I extract the id from the rest of the results. I...
I am writing Windows application (with Borland C++ Builder), which stores large number of text files. I want users to be able to search these files very fast, so I need an indexing and search library. I do not use database, but my own file format for storing the documents (all are in a single file).
Are there such libraries for Windows?...
Our app uses a component that requires a license file in the directory with our executable, which happens to be a .NET WinForms app though I think it is immaterial to this question. When installed on some XP Pro machines (just three out of several hundred thus far), the component throws a license exception. So I regenerated the license f...
I have been given the option to either have a Windows laptop or a Mac laptop to do my Java development on. Before committing to one of these, I thought I would find out if there are any issues or benefits I should know about using a Mac laptop over a windows laptop?
One thing I did hear was that the Java JDK releases are not always the ...
I have a WinForms form (call it 'MyForm') that hosts some WPF UI (via ElementHost). I show this form on a separate thread from the main UI thread.
I want 'MyForm' to remain on top of the main application window, so I am showing the form using the Show(IWin32Window) overload of the Show method, with the passed-in IWin32Window being the m...
I built a batch file from my windows machine that connects to a UNIX server. I Then want commands to execute in UNIX from the batch file. UNIX doesn't seem to recognize my commands after I am logged into the server. This is what I coded:
ssh SERVERNAME
exit
Right now, I am just trying to make it log in and exit. I get logged into the s...
How can I detect if a system supports hardware virtualization via code?
(Preferably in C# or C++).
I tried using WMI and ManagementObjectSearcher, and could not find a property that seemed to represent if virtualization support was present or not in the machine.
Bonus question:
Is it possible to tell if the CPU supports HW virtualizati...
I need to write a small console app (patch) that turns off the print spooler service, does a few things, then starts the print spooler service. I'd like to write this in C#. Can someone point me in the right direction? Thanks in advance!
...
I need to automate an IM client to update a status every few hours, basically log in, update status, log out. I'm trying to do this with windows scripting, but cannot seem to find the proper hook names to the application. Is there somewhere specific I can look to find this kind of information about an application, or am I merely going ...
I have written a program in VB6. When I compile it and send it to my friend, he says it is not working. He (like me) has Windows Me.
Why my programs are not working there? Should he install something or what?
...
Is it possible to take focus from another program to respond to an event, but then once the response has been handled, switch back to the previous program and restore the cursor where it was?
This sounds like a weird question, but think of it along the lines of
User is typing in a text box in Program A.
A window for Program B pops up ...
I'm trying to write a python script (in windows) that runs a batch file and will take the command line output of that batch file as input. The batch file runs processes that I don't have access to and gives output based on whether those processes are successful. I'd like to take those messages from the batch file and use them in the pyth...
I have a problem very similar to the one described here:
http://www.eggheadcafe.com/software/aspnet/30579866/prevent-vista-from-markin.aspx
That thread suggests that Task Manager sends WM_NULL to the process and expects the process to consume this message within timeout limit (5 seconds?).
When I google for "WM_NULL hung" there are many...
Any recommendation of a Fax server to use in Windows? Looking for good API support for incoming faxes. (Lots of them are good for outgoing). I want to route incoming faxes to email programmatically after the server gets the fax and set Whitelist of phone numbers to filter spam - all in code.
...
Is it possible to access the Windows 7 Sensor and Location platform from Silverlight? In particular I would like to know about the location data (GPS) and the ambient light sensor.
Edit: I would assume that the way to do this would be with C# in the code behind file.
...