I was wondering where I can download a c++ compiler with code completion that doesn't suck like the back-end of a donkey. I have tried Eclipse, but that could not find code that had a space in the path (which means the entire concept is kinda unless), I tried codeblocks, which has a limited form of code completion that can only list the ...
Hi, I have an existing windows desktop application and I wish to turn it to a web application as fast as possible, without rewriting the application.
Is it possible to somehow compile the application as an Active-X application and then I will have all the functionality 'out of the box'?
If not, what are the obstacles (apart from securi...
On Linux, I can do:
$ FOO=BAR ./myscript
to call "myscript" with the environment variable FOO being set.
Is something similar possible in Powershell, i.e. without having to first set the variable, call the command, and then unset the variable again?
To be more clear about my use case - I don't want to use this as part of a script. R...
I'm trying to launch & control UI automation tool through PHP. I'm able to launch the tool using proc-open but it launches the process in background hence the application doesn't appear on the screen. I'm using proc-open so that I could capture exit status of the application. Please let me know if there is a way to launch and control app...
I run my NT service on an Intel Core2 based Win2k3 machine where I need to iterate through all logical CPUs (all bits in process affinity). To do so I call GetProcessAffinityMask() to retrieve the system affinity mask and then switch the process to each processor in turn:
DWORD systemMask;
GetProcessAffinityMask( ... &systemMask );
D...
At the following location
\ncsusnasent02.na.jnj.com\its_diq_na_win_dev\PowerCenter\infa_shared\WCPIT_BIO_EDW\SrcFiles\DDDMD\DDD.CLI026.WK0933.DDDMR45.001.head
I have one file
DDD.CLI026.WK0933.DDDMR45.001.head
if i open this file
i get data as following(in a single line)
HEADER0101IMS HEALTHDMD Weekly D DD.CLI026.WK0933.DDDMR...
Some weird error cropped up suddenly outta nowhere and is preventing me from checking in my code via TortoiseSVN. I'm using a free account on myversioncontrol.com
This is on a Windows Vista system. It was working fine till earlier in the day. Any clue how to get things back to normal?
The Tortoise window shows this
Command: Commit
Modi...
I received a Python project (which happens to be a Django project, if that matters,) that uses the fcntl module from the standard library, which seems to be available only on Linux. When I try to run it on my Windows machine, it stops with an ImportError, because this module does not exist here.
Is there any way for me to make a small c...
On windows, I can run my ruby script like this:
> ruby myscript.rb
but I want to set things up so that I can just do this instead?..
> myscript.rb
How do I do this? I know it's possible because I've recently moved from one PC that had this set up to a new PC that doesn't (yet).
...
I'm writing a bat script and I have to save the date from a file to a variable. How can I do that?
I will use the variable to check wether the file is older than N days, so it would be nice to save the date in a format that would allow me to do such test.
...
i need to update items around an edit box when it changes size.
TEdit has no OnResize event.
An edit box can resize at various times, e.g.:
changing width/height in code
form scaled for DPI scaling
font changed
And i'm sure others i don't know about.
i need a single event to know when an edit box has changed its size. Is there a W...
I'm trying to use mt.exe from the Windows SDK to add a manifest to an executable file that doesn't have one, using the following command line:
C:\winsdk61>mt.exe -nologo -manifest "r:\shared\hl.exe.manifest" -updateresource:"r:\shared\hl33m.exe;#1"
Unfortunately, when I do, I get this error:
mt.exe : general error c101008c: Failed to...
I have a Windows Server 2003 system that is used for terminal services. We do not use roaming profiles. We do not use login scripts. I have about thirty to fourty accounts that log into this system and as such have local profiles.
One of the software packages that are installed onto this system uses HKCU/Software reg tree for its...
I am writing an application where it would be helpful to automatically switch between having Windows XP's desktop in dualview or cloned. The application uses a small wxWidgets window for the GUI. It would be nice to have a button within the GUI that could easily switch between dualview and cloned.
Is there a c/c++ library that gives...
What is the best way to programatically determine if a Perl script is executing on a Windows based system (Win9x, WinXP, Vista, Win7, etc.)?
Fill in the blanks here:
my $running_under_windows = ... ? 1 : 0;
...
the batch file:
@echo.
@set curdrive=%~d0
@path | %curdrive%\utils\sed -e "s/PATH=//" | %curdrive%\utils\tr ; \n
@echo.
Sample output (one path element on each line):
C:\cheeso\bin
C:\Perl\bin
c:\utils
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
c:\.net3.5
c:\.net2.0
c...
Hello everyone! I am making an application in C++ for windows, and one of its prime functions has to be directory and file io (searching, creating, etc). I basically want to be able to recursively search directories, and most of all be able to get the file names in a directory. Then I want to be able to get the directory names in the cur...
In MFC, dialog boxes were designed using DLUs. In WPF, we specify in 1/96inch units. While this would indeed scale windows and visual elements, how do we make make WPF "respect" the current font settings of the user? Should we specify a certain font to be used and stick to that font?
How would one go about layout-ing a "well behaved app...
Hey!
I'm going to place an unobtrusive ad blocks inside our Windows application.
I want the ads to look like Google AdSense text blocks.
But, unfortunately, Google AdSense policy does not allow to use ads in Windows application.
Do you know a similar ad networks that allow to place ads in computer programs?
The app is primary targeted f...
How can I, in Windows, use the output of a script/command as an argument for another script?
(A pipe | will not work here, since that other script doesn't read from the standard input)
Too clarify: I have AnotherScript that needs an argument arg, e.g.:
AnotherScript 12
now I want the argument (12 in the example) to come from the outp...