Hi,
Does anyone know how to import a rsa private key from a DER or PEM file into the CryptoAPI CSP?
I want to encrypt some data using a public key from the cert store (Which i have done), then...
Type: Posts; User: magic.mike
Hi,
Does anyone know how to import a rsa private key from a DER or PEM file into the CryptoAPI CSP?
I want to encrypt some data using a public key from the cert store (Which i have done), then...
Hi,
I have created a certificate using Openssl. All works fine and I can encrypt and decrypt a file just using openssl from command prompt, so I know certificate is working ok.
I need to do the...
Hi,
I am using VS 2005 and trying to implement the Xerces-C++ parser.
Everything is linked and compiles ok - I am using the example supplied (below).
When I run it I get a runtime unhandled...
Hi,
I want to write a program to check if a tape is loaded in an Internal SCSI tape drive (HP) on a windows 2003 system.
Is there a way I can communicate with the tape drive to check the status...
Hi,
I want to write a C++ program that interacts with Excel.
I have used the VB edit from within Excel in past, and want to be able to access or use workbook functions such as 'Workbooks.Open'...
Many thanks - I found a site with CRC algorithims, which work fine, but I cant test a file on the server without downloading it, which defeats the point, as I only want to download files that have...
What is CRC's?
HI,
I have written an FTP back up program. I want this program to compare the date last modified of the local file with the file on the server and only transfer the file if the date is different....
Hi,
I have written some back up software using MFC (VC++)
I would like the program to automatically run at a given time (to back up the data).
I assume I have to install it as a service...
Many Thanks - I can trap the command line and not show the dialog box using follwoing code,
CString cmdLine = this->m_lpCmdLine;
if (cmdLine.Compare("-t") == -1)
{
int nResponse =...
Any clues how I would detect a command line?
Hi,
I would like to create an MFC program using the wizard (MS VC++), but I would also like the facility to run the program from the command line using various switches and parameters.
When I...
I have tried adding a function before the doModal call to set the values, but I get the same error message.
I have created a Dialog Application with a main menu bar
The menu bar has an option that opens a new Dialog (new Class)which contians serveral controls, in particular a CIPAdressCtrl.
I cannot...
I am having problems using psapi
I have downloaded the MS Platform SDK which includes it.
I have included the following in my program
#include "C:\Program Files\Microsoft...
Hi,
I need to check if a particular program is running, if it is I need to close it.
There process does not generate a window, as it runs in the background.
Someone suggested GetWindow, but...
Hi,
My program needs the ability to check if a particular (external)application is running, and if so kill it.
Any Idea's on how this could be done?
Thanks
Magic
Hi
I am wrinting a program that calls netsh from the command line
system("netsh -f script_adapters.txt > adapters.dat");
It dumps the result in a text file - This works fine.
However is...
HI,
I need to be able to write data to a 4mm DDS Tape Drive.
This is attached to the PC via SCSI and uses the windows 4mmdat.sys driver.
How can I get my program to access this device?
Do I...
HI,
I need to be able to write data to a 4mm DDS Tape Drive.
This is attached to the PC via SCSI and uses the windows 4mmdat.sys driver.
How can I get my program to access this device?
Do I...
Ok, so now I switched compilers to Borland CBuilder 5.0
The iphlpapi.h resides in the include folder, I can #include to file.
When I compile I get this error...
Unresolved External...
When I try #pragma comment(lib,"iphlpapi") I get the following error
LINK : fatal error LNK1104: cannot open file "iphlpapi.lib"
I am trying to use a class which is located in the file Iphlpapi.h.
I know this file lives in iphlpapi.dll.
How do I import this class/library/dll?
I know the dll lives at c:\windows\system32...
Many Thanks, but
I am using MS Visual C++ 6.0
The function GetAdaptersInfo is not included nor is the header file Iphlpapi.h
Is there a VC++ way or where can I get the required Iphlpapi.h...
Hi,
I am writing a newtowrk application that needs to obtain the local machines IP address, Gateway address and subnet mask.
I can get the locl IP using gethostbyname(), but I need help, with...