Note: I am aware of the question Memory management in memory intensive application, however that question appears to be about applications that make frequent memory allocations, whereas my question is about applications intentionally designed to consume as much physical memory as is safe.
I have a server application that uses large amou...
I'm porting our 32 bit windows app to 64 bit, and trying to clean up all the warnings. I have found calls in our code to CDC::GetTextExtent which take an int as a parameter.
I notice that GetTextExtent simply calls GetTextExtentPoint32. The 32 scares me, so i started looking for a 64 bit version of GetTextExtent but i can't find one.
...
I have a script vbs wich redirect some data to the stdin of myApp (written in C in Windows).
If myApp was already launched before myApp finds the PID of the first myApp session and redirects the input received via stdin to the stdin of the first session of myApp which handles the stdin.
So when myApp receives a stdin and no other instanc...
I am new to CACTI. I have created a disk utilization graph in Cacti for a widows server. A CPU Utilization graph and user graph are alo there for the same widows server.
Right now how the graphs behave is: The user graph shows around 15 users logged in all the time except for a particular time frame (say 1pm to 2pm). During this time fr...
I have a application that clicks on a flash game with the mouse, Locations of clicks are working fine its the actual clicking that is the issue, although this might be the flash that is to blame..
I have this code
procedure move(x,y:byte);
begin
SetCursorPos(getx(x)+21,gety(y)+21);
sleep(15);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0,...
Running Titanium Appcelerator 0.8.1 on a Windows XP Virtual Machine, with Android SDK 2.1
When running build/install app, getting the following error:
[TRACE] f = open(os.path.join(dest, dest_file), "w")
[TRACE] IOError: [Errno 13] Permission denied: 'C:\\Documents and Settings\\firstname.surname\\Desktop\\MyApp\\build\\android\\.class...
We have a VB6 application that uses a non-visible window (form) for DDE communication.
We have some clients reporting that occasionally they can see this window on their desktop.
I did a scan through the code for any visible = true or show's on the form in question, but nothing.
This about all we do with it:
Load frmDDELink
frmDDELin...
I'm trying to automate some tests on Internet Explorer. How can I find out if the state of the webpage being shown is changed? Is there any way to know when the page finished loading, if it changes, if it is scrolled, etc.?
I want to know how I can get this state information from another running process.
...
Python 2.6.2 / Django 1.0.2 on Win 2003 Standard IIS 6.
IIs is running two django sites with the following directory structure:
root/http/WEBSITE1
root/http/WEBSITE2
Both sites have their own application pools; each site has it's own pyISAPIe.dll instance.
WEBSITE1 is accessible (serving test django page). However, the browser produc...
I'm trying to write a simple program to change my desktop wallpaper.
I'm using a downloaded jpeg file and I would like to convert it in code.
The problem is the bitmap needs to be 24 bit to display.
How do I do this?
Thanks in advance.
public class ChangeWallpaper
{
[DllImport("user32.dll", CharSet = CharSet.Auto)]
static extern...
Is it (or would it) be possible to use glibc under windows (as a replacement of msvcrt)? I knwo this is a stupid question, and answers like cygwin will pop up, but I am really asking:
is it possible to link to glibc on windows and use all library functions like with msvcrt?
...
Executive summary: I need a way to determine whether a Windows process I've spawned via _spawnl and am communicating with using FDs from _pipe has died.
Details:
I'm using the low-level CRT function in Windows (_eof, _read) to communicate with a process that was spawned via a call to _spawnl (with the P_NOWAIT) flag. I'm using _pipe t...
I would like to use cygwin tools (screen) for development and invoking ActiveState Perl debugger from cygwin environment throws the following error.
bash-3.2$ perl -d test.pl
The system cannot find the path specified.
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment va...
Possible Duplicate:
Running Active State Perl command-line debugger from cygwin
I would like to use cygwin tools (screen..) for development and invoking ActiveState Perl debugger from cygwin environment throws the following error.
bash-3.2$ perl -d test.pl
The system cannot find the path specified.
Unable to get Terminal Size. ...
On a multi-tier application, I need to simulate various TCP/IP errors to test some reconnection code. Does anyone know of any tools (Windows based) I can use for this purpose? Thanks.
...
Windows 7.
It's for my own machine, so it doesn't matter if it requires admin rights or something.
Preferably in Python or .NET, but I can learn a bit of Win32 (C/C++) programming if it's necessary.
...
On Modern Windows, the default configuration is done in such a way that if I network-login as a local user, I actually only get authenticated as a guest (more details about this behavior is explained in http://technet.microsoft.com/en-us/library/cc786449(WS.10).aspx)
When my program tries to access WMI on this kind of servers via DCOM, ...
I am working on adding scripting capability to my application. I have largely solved all the issues. Now I can expose my objects to scripts, and the script can handle events from my objects as well. As a step further I wish that the script is able to handle events fired from third party objects, in a way similar to WScript.ConnectObject....
I need to get data from reports fields to open others windows forms or other reports, How I can get the values of reports fields to pass to local C# o VB.net variables ?
...
I have a web application, I would like to embed the web application in the window application..
Like if i click the icon in the windows, it should open a window along with that site..
Need to disable the right click and menu properties and every thing..
Some one told that we can do it via .Net..
Is there any other way to do that..
Co...