I have a test program which prompts for input from user(stdin), and depending on inputs, it asks for other inputs, which also need to be entered.
is there a way I can have a script do all this work ?
...
I just need to fetch an https page, and I'm using curl currently by having the curl.exe application in my Path and calling it with a Perl file. However, then I get the error "* Protocol https not supported or disabled in libcurl". I've been looking around and I can't find a solid set of instructions to get it to work. I have installed cy...
I have a pointer array defined as some_struct * t_ptr[1000] which points to a structure some_struct.And some points of the point array are evaluated.e.g
some_struct * wpaper1 = new some_struct(); //memory leaks detected in this line
wpaper1->tAnswer = useransw;
wpaper1->tKey = key;
t_ptr[100] = wpaper1;
//there're wpaper2,wpaper3....
Trying to understand What is IConnectionPoint and how this is connected to IConnectionPointContainer,IEnumConnectionPoints,IEnumConnections and EventHandling.
Read the artcicles from MSDN and CodeProject which is explaining a about other methods like: QueryInterface() and otherthings.
I am unable to figure out how all these things(ICo...
I got two console applications that the first one runs the second one:
1_first console application:
#include <Tchar.h>
#include <windows.h>
#include <iostream>
using namespace std;
void main(){
PROCESS_INFORMATION obj1;
memset(&obj1,0,sizeof(PROCESS_INFORMATION));
STARTUPINFOW obj2;
memset(&obj2,0,sizeof(STARTUPINFOW));
obj2.cb...
As the title says, does anyone know of any Distributed Key/Value Stores that can run on Windows, and have .Net clients?
Thank you
Update: Sorry, forgot to add that it needs to be persisted.
...
When I called the HeapCreate function in the preceding code sample, I used the HEAP_NO_SERIALIZE flag because the
remainder of the sample code is not multithread-safe.
Jeffrey Richter wrote the sentence in his book(Windows via C/C++)
But it's weird.
If the codes are not multithread-safe he didn't have to use the flag.
Is it a bug?...
I hear/read about it sometimes when talking about .NET, for example "managed code" and "unmanaged code" but I have no idea what they are and what are their differences. What are their difference, by definition? What are the consequences of using either of them? Does this distinction exist in .NET/Windows only?
...
I have two working copies of the same project, each switched to a different branch. Is it possible to merge local changes in one project to the other working copy?
...
Hello guys! I am trying create installation file for my projects.
I am using command line so I created bat file "create_setup.bat". From this file I am trying to compile Inno Setup script "my_project_setup.iss":
"ISTool.exe" -compile "Subfolder1\Subfolder2\my_project_setup.iss".
Important: "create_setup.bat" - located at the folder "Wor...
Hi all,
I've ran into a really weird problem while working on a large project. I write a bunch of same-size files on a partition (tried both RAM disks and virtual disks created via diskmgmt.msc). When there is not enough free space to fit another file (as reported by GetDiskFreeSpaceExW), I delete one (only one) of the previously create...
Hi,
I have a Qt 4.6.2 application, running on a Windows XP SP2 x64 system.
When I press the physical power/shutdown button on the system, when my application is running nothing will happen, the app will not close and the system does not Shutdown.
If I go to start menu and click shutdown, then my application will close but the system w...
Hello!
I'd developed a WCF Service using netTCPBinding and embedded it in a Windows Service.
The configuration data of wcf is located in standart app.config file.
After that i had created an installation project and include my code (wcf in widows service) there. So I have the setup.exe file to install my windows service with wcf on b...
I would like to be notified when the computer's network connection is established (has a valid IP address) and I would like to do this without polling. Is there a Windows API that can provide these notifications?
...
currently, i've got an application that needs to fill out a printable form with data. clients send me a form and i create a digital version of it. there are tons of these forms and i often need to customize them and add additional fields, etc for my clients, so they should be really simple to create and modify.
i've got a system in p...
I'm writing CSP library (for CryptoAPI) for smartcards my company sells.
I have question about difference between AT_SIGNATURE key type and CALG_RSA_SIGN algorithm for private key (the same also for AT_KEYEXCHANGE and CALG_RSA_KEYX).
I know what is written on MSDN site, but how specifically CSP DLL should work if either of CALG_RSA......
Hello, I've only seen this happen when testing in IE 7 or 8 from a Windows Server 2008 R2 box. I've tested on Windows 7 and it works fine. Other browsers are fine.
So I have a very simple bare bones test page with a link to an external stylesheet that sets a background image on the body (could be a div too). If there is a ul, ol or tab...
Hi,
What i really want to achieve is this-->
Suppose i play an audio file(using my application) which can either be streamed from the internet/or accessed directly from the local storage.
Now i want to configure SAPI to listen to this source instead of the microphone and convert the speech from the audio to text like it does normally.
...
I am trying to hit a web service from my DEV box which is giving error "Unable to add security token for identity".
I have heard that it is just happening for windows 7, but not vista or any other windows.
Is there any setting needs to be done, in order to get around that.
...
I am making an app that needs a window appear behind the desktop icons. It must be visible.
I am using C#. But If it's needed I can make C/C++ dll's.
I know this question was already asked, but none of the aswers are realy usefull.
the link to the other question: http://stackoverflow.com/questions/1978077/c-set-window-behind-desktop-ic...