My computer is a dual core core2Duo. I have implemented multithreading in a slow area of my application but I still notice cpu usage never exceeds 50% and it still lags after many iterations. Is this normal? I was hopeing it would get my cpu up to 100% since im dividing it into 4 threads. Why could it still be capped at 50%?
Thanks
See...
Hello, I have a multilanguage site and I'm trying to rewrite the URL's with a fake directory something like this:
http://localhost/theSite/page.php?id=param&cat=param?lang=en,fr,es
to http://localhost/theSite/(en|fr|es)/page/param/param
.htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(fr|en|en)/(.*) $2.php?id=$1&ca...
I want to make programs to windows with interface and I want to know what is the best, or the easier program to make gui with Python, not in text mode, but like kinda Delphi works...
What should I get?
...
There seem to be 2 classes that relates to workflow Activities in .NET 4: System.Workflow.ComponentModel.Activity and System.activities.Activity
What's the difference between the two?
...
Suppose I do the following in java for a process that stays open:
import java.io.File;
import java.util.Date;
public class LogHolder {
public static void main(String[] args) {
File file1 = new File("myLogFile.log");
while (true) {
System.out.println("Running " + new Date());
}
}
}
Ha...
I wrote this C++ application that needs to check an INI file (“preference.ini”), and eventually modify it (e.g. if the user does not want to see the introduction form anymore). I created it in WinXP, and it works fine on the system where I compiled it (in many locations, including “Program Files”).
Problem:
In Win 7, it works fine if ...
The actual problem I'm trying to solve is, I want to automatically find out the size of the margins around windows. If you can find a better way, please by all means answer that instead of this.
To do this I decided to take a screenshot of a test window and measure the margins. This is simple enough, as I expect no margins will ever be ...
can annbody detail - Whatis the difference between Buffer and Cache in system memory ?
...
I am writing a PCIe device driver. With PCIe I have a storage device connected. I have allocated a buffer in memory using malloc() which I use to transmit data to and receive from my hardware. The buffer area is locked and the physical addresses of the locked pages are passed to the DMA, I have in my hardware. DMA uses physical addresses...
Hi..
Please let me know your answer for my below question
Does this win32 api RegisterDeviceNotification Function requires GUI
wont it work without GUI
thank you
...
I have installed cygwin in C:\deepan\cygwin\ directory... how do I reinstall it in C:\ directory? I want to be able to run java in C:\programfiles\java\ folder from cygwin
...
hello,
we have to mediawiki (like wikipedia) installation one is public and one is internal
we do the normal work with the internal adding/changing/deleting text articales and pictures
we want to sunc and update the external one on weekly bases, what is the best approach?
note: we are using 2 windows servers (but willing to change to...
My application tried to scrape IE8, here we somehow obtain HANDLE to Internet Explorer Window/UI. Now I want to get the job handle for IE8.
One Idea is to -
Determine first the process id using the IE Window HANDLE using GetWindowThreadProcessId() but after this I am stuck.
There is new implementation in IE8, here every tab opened is a ...
Is it possible to mix 32bit and 64bit components with different languages in a single MSI?
I need to Mix 32bit English, 32bit German 64bit English, 64bit German components in a single MSI. I am able to create separate 4 MSI's using Visual Studio(Setup and Deployment). Using NSIS, I can really mix 32bit English, 32bit German 64bit En...
Hi,
in our project we want to copy 2 files, which are not included in the *.msi file. Therefore i created a managed custom action which copies the files using File.Copy(). The files should be copied to my installation dir, which is somewhere under C:\Program Files\...
With Windows XP everything works fine. But in Windows 7 their is a p...
Hi,
I have an existing DirectoryEntry connection and I want to check if the user that was used for the creation of this DirectoryEntry belongs to a specific group.
anyone knows how to achieve this?
Thanks,
Shuky
...
I have a window(MDI ) create,when it is opened by application,i will increase it size by dragging,and close it.so next time if i open it,the size has to new one.Values have to be stored in INI,i know this,but how to get the exact coordinates so that it can used later to open it
...
Dear all,
current project of my team involves Windows Services communicating heavily among several machines via WCF. We occasionally run into problems upon startup, where we suspect that Services are initialized before the machine's IP connection is fully configured.
Anyone have an idea or suggestion how to verify this or how to genera...
Hello,
We have ListView.Groups in .NET. Is there an equivalent in Qt (without using Windows APIs)?
I am unable to find anything that indicates support for this in the documentation for Qt.
Example in Windows Vista/7: http://i50.tinypic.com/zumgyg.jpg
Thanks in advance!
...
Hi All,
I have an application which runs on windows. I am facing following issues.
AV/AS blocks my application after install and when invoked first time.
AV/AS blocks does not allow my application to communicate with the server, it blocks my UDP/TCP connection.
AV/AS blocks my application access to windows registry operation.
AV/AS bl...