I'm a Perl programmer with some nice scripts that go fetch HTTP pages (from a text file-list of URLs) with cURL and save them to a folder.
However, the number of pages to get is in the tens of millions. Sometimes the script fails on number 170,000 and I have to start the script again manually. It automatically reads the URL and sees if...
I have downloaded qt-win-opensource-4.7.0-vs2008.exe from nokia site and use it when I build my application. My application realy use VS2008 runtime not MinGW, but it has the dynamic linkage with QtCore4.dll and others Qt libs.
How can I create application with static linkage with qt libs?
...
Hi!
Does anybody know if/how I can read from the callstack from a specific address?
suppose I have a offset address from the base address of the callstack, how can I get the base address?
thanks :)
...
I am writing a program that needs to run a set of executables and find their execution times.
My first approach was just to run a process, start a timer and see the difference between the start time and the moment when process returns exit value.
Unfortunately, this program will not run on the dedicated machine so many other processes ...
Hello, I am looking for a way to change my application name (that appears on right click on Windows 7 taskbar):
To something more informative like:
How do I do that?
I am using: Qt 4.7 (MinGW), Windows
I have found some info about using certificates and signing executables, but I am not sure if it is what I need. I know how to c...
What is the best development environment for PHP?
I use Notepad++ with Vibrant Ink style and Windows Explorer for ftp.
very amateurish
...
I'm at complete odds over configuring a proxy to inspect the HTTP(S) traffic for the app I'm developing. I've tried running Fiddler2 and Charles Web Proxy, both run on 127.0.0.1:888, and starting up the Android emulator with the parameter:
-http-proxy http://127.0.0.1:8888
To test it out I open the Android browser. I see in Fiddler2 ...
I have the following PHP GTK code located in C:\gtk
<?php
if (!class_exists('gtk')) {
die("Please load the php-gtk2 module in your php.ini\r\n");
}
$wnd = new GtkWindow();
$wnd->set_title('Background');
$wnd->set_resizable(false);
$wnd->set_position(GTK_WIN_POS_CENTER);
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
...
I am writing something similar to the http://ideone.com/. Currently I am running user processes with CreateProcess call. I kill the process if it runs longer then specified amount of time but I don't know how to deny read/write filesystem rights / creating process rights etc. to the created process. The given executable can be literally ...
I have a winform, VBExpress 2008 with a single button and this code behind it to illustrate the problem:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.ShowDialog()
MsgBox(OpenFileDialog1.FileName)
End Sub
When I select a file (in my case small PDF's) I am g...
Hello,
I have a problem, i have a file who opened other process and this process defined in CreateFile non file sharing, then i have other application and i want read data from this
file in same time, but how to do.
I can't change file sharing in first application.
I can reach computer administrator right's, i can do changes in system,...
I need to know which parts of my code make the most cache misses.. suggest which parameters of the profiling report I need to monitor, there are too many of them there ^_^
...
Hi,
I saw above question in
http://www.geekinterview.com/question_details/67202
Then i searched in Google, got below links.
http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/470448e8-546f-4f5a-82b1-abbafe64b856
http://forums.windowsforum.org/index.php?showtopic=28783
I had some fun :D but no answer.
Is there anyth...
Hi,
I started using vim for my programming projects (mostly Ruby) and mostly everything works just as I want but I have a problem with compiling.
Lets say I am working on a Ruby script and I want to run it. I type :ruby sometging.rb (mapped to some other key). Then vim opens a new cmd.exe window and runs 'ruby something.rb'. Then it w...
I would like to create menu item in windows explorer content menu (for all file types) which after click will open my application and pass the selected file name to it. Is there any tutorial for this ? I know there is ShellPlus component available but it's a bit outdated.
...
Hello,
After looking at this tutorial on blobs: channel 9, I was thinking of using a blob container to save a bunch of tweets (storing the json of each tweet that is). Ideally I would like to create a blob reference for each hour of the day, and append new tweets to this blob as they come in. The issue is that the method UploadText(stri...
I'm using web2py for an intranet site and need to get current login windows user id in my controller. Whether any function is available?
...
I'm a Perl programmer with some nice scripts that go fetch HTTP pages (from a text file-list of URLs) with cURL and save them to a folder.
However, the number of pages to get is in the tens of millions. Sometimes the script fails on number 170,000 and I have to start the script again manually. It automatically reads the URL and sees if ...
I am trying to write to the memory of another process, I open it with permission 38h (VM_OPERATION, VM_READ, VM_WRITE), then i use VirtualProtectEx with permission 4h(PAGE_READWRITE), but i also tried PAGE_EXECUTEREADWRITE - same error later.
Then I invoke ReadProcessMemory, and successfully read out the value of a fix address.
But as I...
I'm developing a C-program with VS2005 and I found out that when folder access is restricted in a way that I can't create folders or delete anything from a folder the _stat function for the folder does not set errno correctly. errno is set to value ENOENT. I absolutely cannot modify the permissions so I could get value EACCES. Either _st...