I'm extending an application to play one of several videos on a control in a dialog. Starting with the Windowless sample, I've got this working, though the videos have to be separate files from the main executable.
The ideal scenario from a packaging standpoint is for the videos to be included with the executable as resources. I did a ...
Is it because the operating system is written in the C programming language?
I think that the A and B languages were not so successful?
I am thirteen and trying to do computer programming in C#.
...
What is the best (easiest) way to take a screenshot of an running application with C++ under Windows?
...
I'm not exactly sure how to tag this question or how to write the title... so if anyone has a better idea, please edit it!
Here's the deal:
Some time ago I had written a little but cruicial part of a computing olympiad management system. The system's job is to get submissions from participants (code files), compile them, run them again...
How to open a prompt dialog box in WSH usig JSacript??
The only pop-up dialog I've found in the doc is the WshShell.Popup() method. But I need a way to request the user to enter a string, like the window.prompt() method in DOM.
Thanks.
...
I have the STRUCT1 Structure declared as below
typedef struct struct1 {
short int nbr_fe;
[size_is(nbr_fe)] STRUCT2 ptr_fe[*];
} STRUCT1;
STRUCT2 is also another structure inside STRUCT1
and then I have a pointer declared to it as below
typedef [ptr] STRUCT1 * ptr;
And I have to allocate a memory to an array of STRUCT1 b...
It started with this question, followed up with this question and now led to the present one. :)
The task is as follows: make a Windows program that will run another program in a limited environment. The other program cannot be trusted, so it has to be ready for hackish code. More specifically:
Limit the available memory to some X MB ...
I have a Perl script that requires two command line arguments that takes a while to run. I am using ActiveState Perl to run it. I can call it with wperl script.pl arg1 arg2 from a command prompt and it runs in the background fine. If I change the .pl association from perl.exe to wperl.exe and call it with script.pl arg1 arg2 the argument...
I would appreciate any advice regarding tools and practices I could use to confirm my recently completed website is performing correctly.
Although I am confident the code is not producing errors and is functionally operating as it should, I have little understanding of how to identify IIS, SQL Server and Windows performance/concurrency ...
Is it possible to limit a folder size in Windows so that when a user tries to write to the folder when it is full he receives an error message?
...
I've always understood that each number in the version (ex: 1.2.3.4) is treated as an regular int value. We are using some third party DLLs that follow a different convention and it seems to be causing problems with our patching process (patch won't overwrite the old DLL with the new one).
The old version of the DLL is 1.38
The new ver...
Here's something that sucks:
Plug in external monitor to laptop (Mac OS X Leopard in my case).
Arrange your windows to have the IDE on one screen and browser on another.
(Etc etc. Resize, rearrange, fuss, fuss, fuss.)
Unplug monitor to run to a meeting, or whatever.
Goto 1.
I'd like to replace step 2 with "computer remembers exactly...
Does anyone have a way to generate files of random data in Windows? I would like to generate 50,000 small (2K) files as an example.
...
Hello :)
I need to write my own SSL socket (CSocket ansestor) with server side certificate validation using Microsoft CryptoAPI.
Can you tell me which book will help me (or any other user friendly source of information)?
...
I'm developing a small windows app using c++ and i would like to get some kind of fingerprint of the software/hardware on a pc so that i can allow the app to be run only on certain pc's.
I am aware that the app can be cracked but i'm really interested in implementing something like this.
Any ideas how could i achieve this?
...
This is related somewhat to this question about a better shell terminal/gui-interface for cmd.exe
In my quest to find a better shell terminal, the only useful thing I came across was Console2, other alternatives weren't free and generally didn't offer much more than Console2 to make them worth their price.
I can't help but wonder, "how...
I'm trying to port a Perl script over from Unix to Windows but am having a near impossible time getting it to work due to the unsupported forking pipes in the open function. Here's the code:
sub p4_get_file_content {
my $filespec = shift;
return 'Content placeholder!' if ($options{'dry-run'});
debug("p4_get_file_content: $f...
What is the best free windows c++ compiler, ideally cross-platform. I've tried Bloodshed, Ganymede, EasyEclipse, Visual C++ express. Visual C++ express is the only one I've been able to get the debugger working on!
...
In a Windows batch file, when you do the following:
set myvar="c:\my music & videos"
the variable myvar is stored with the quotes included. Honestly I find that very stupid. The quotes are just to tell where the string begins and ends, not to be stored as part of the value itself.
How can I prevent this from happening?
Thanks.
...
I have a service I have developed myself in C# and it includes an msi installation package. When I install this on my own computer I can see it (and start/stop it) in administrative tools -> Services but on another (very similar) machine I can't. I don't really care that much about whether I can see it there but somehow I'd like to be ab...