I have a simple PyQT project. I would like to know how to build it in Windows in such way, that it becomes runnable executable. I don't want to require user to install heavy QT framework for his computer. How to make executable with only necessary parts of QT?
...
Hi all,
Hopefully someone has an answer, and it's not TOO complex. I'm working on a C++ dll (no C# or .Net, fully static DLL).
Anyhow, its woring on buildin monochrome bitmaps. I have all of it working EXCEPT the resolution. I get the Device Context, Get Compatible Device Context, build bitmap, draw what I need to (as black/white), ...
I want to programmatically test a file for viruses.
I'm aware of this thread, which didn't get a satisfactory answer in my opinion, but I'm not looking for an API here. Any kind of workaround to make it possible to test a file would be fine.
Of course, an API would probably be the best solution (I'm using .net on a Windows platform), b...
I'm using the jQuery UI dialog box, in IE & FF on Windows I'm getting underlying flash content shining through the dialog box.
I resolved this on IE by enabling the bgiframe option on the jQuery dialog window and changing the bgiframe script to apply to any windows browsers, however I'm still getting the shine-through on FF.
Note that ...
Description:
Obtain output from an executable
Note:
Will not compile, due to fgets() declaration
Question:
What is the best alternative to fgets, as fgets requires char *?
Is there a better alternative?
Illustration:
void Q_analysis (const char *data)
{
string buffer;
size_t found;
found = buffer.find_first_of (*data);
FILE...
DUPLICATE: How can I programmatically determine if my workstation is locked?
How can I detect (during runtime) when a Windows user has locked their screen (Windows+L) and unlocked it again. I know I could globally track keyboard input, but is it possible to check such thing with environment variables?
...
Using GetSaveFileName. I specify the OFN_EXPLORER flag, but I always get old dialog appearance unless I avoid using both hook and template. (lpfnHook and lpfnTemplate (and their respective "enable" flags) in OPENFILENAME structure)
If I avoid using just one or the other, I still get the old dialog appearance. I also tried no templa...
Hi!
I'm using quite much STL in performance critical C++ code under windows. One possible "cheap" way to get some extra performance would be to change to a faster STL library.
According to this post STLport is faster and uses less memory, however it's a few years old.
Has anyone made this change recently and what were your results?
...
Can anyone list the steps needed to programatically install an application on Windows. Aside from copying the files where they need to be, what are the additional steps needed so that your app will be a first-class citizen in Windows (i.e. show up in the programs list, uninstall list...etc.)
I tried to google this, but had no luck.
BTW...
We have a c++ task that will fork a new process. That process in turn may have several child processes. If the task runs past an allotted time, we will want to kill that forked process. However, we don't want to orphan the processes it has spawned. We want them all to die. I have used Process Explorer and it has a "Kill Process Tree...
What win32 API C functions can I use to read the modification/access/created dates of a file?
...
After finding this question, What's the best linux backup solution?
I'm wanting to know what the best backup solution for windows is? I have a web application which has a decent amount of content and pages that get updated frequently and I am currently backing it up by hand.
Preferably, I would like to have it backup to a specified F...
I am trying to deploy an application in a client network, with AD/domain controller.
My application is a simple asp.net c# application, using windows authentication.
I am using win2003.
Basically, using VS2008, create a new website, hosted on IIS6.0.
Only 2 changes.
1. On IIS Directory security for the application, enabled "Integrated...
I am a C# developer and work on Windows, but back in High School I took some C++ classes. We worked on console applications only. I kinda want to learn C++ GUI programming. I have been looking at Qt and was wondering if I should learn it. For fun lets make this a multiple choice answer:
A) Learn Qt
B) Learn other C++ GUI
C) Don't learn ...
What is the order in which the Windows command prompt executes files with the same name but different extensions?
For example I have a bunch of executable files (something.cmd, something.bat, something.exe), which of these would be executed when I typed "something" into a command prompt (given they were on the path etc). If that file di...
I'm looking to developing something for my Win32 system that can find and respond to particular screen events. For instance, when bitmap range (100,100) to (130,130) of my screen (a 30x30 pixel portion of the screen) matches a provided 30x30 pixel baseline, then do a certain action.
Can anyone get me started with this? Perhaps there's...
How do I print the time (in ms) in a Windows batch file?
I want to measure the time that passes between lines in my batch file, but Windows's "time /T" does not print milliseconds.
Is there a tiny 3rd party command line utility that does this perhaps?
echo %time% won't help because it's evaluated just once and thus prints the same tim...
how do we extend a command to next line?
basically whats the windows alternative for linux's
ls -l \
/usr/
here we use backslash to extend command on next line
whats the equivalent for windows?
...
Is there a standard splash screen size or set of guidelines for the size of a splash screen?
This is for a music-playing application for XP and Vista.
...
How to retrieve at runtime the version info stored in a Windows exe/dll? This info is manually set using a resource file.
...