Search:

Type: Posts; User: magic.mike

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Crypto API - Import Private Key (DER or PEM)

    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...
  2. Replies
    0
    Views
    1,885

    Encrypt text using a Digital Certififcate

    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...
  3. Replies
    1
    Views
    2,240

    SAX XML Parser

    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...
  4. Replies
    1
    Views
    2,539

    Tape Drive - Check Tape Is Loaded

    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...
  5. Replies
    3
    Views
    1,230

    Using VB (Excel) Commands

    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'...
  6. Replies
    5
    Views
    2,228

    Many thanks - I found a site with CRC...

    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...
  7. Replies
    5
    Views
    2,228

    What is CRC's?

    What is CRC's?
  8. Replies
    5
    Views
    2,228

    Date Last Modified

    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....
  9. Replies
    2
    Views
    2,161

    Run program as Windows 2003 Service

    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...
  10. Replies
    6
    Views
    5,046

    Many Thanks - I can trap the command line and not...

    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 =...
  11. Replies
    6
    Views
    5,046

    Any clues how I would detect a command line?

    Any clues how I would detect a command line?
  12. Replies
    6
    Views
    5,046

    Run MFC exe from 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...
  13. Replies
    3
    Views
    1,232

    I have tried adding a function before the doModal...

    I have tried adding a function before the doModal call to set the values, but I get the same error message.
  14. Replies
    3
    Views
    1,232

    CDialog - Assertion Falied!

    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...
  15. Replies
    3
    Views
    1,546

    I am having problems using psapi I have...

    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...
  16. Replies
    3
    Views
    1,546

    Closing an External Program

    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...
  17. Replies
    2
    Views
    1,029

    Kill Another Program

    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
  18. Replies
    1
    Views
    2,057

    system() without window

    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...
  19. Replies
    1
    Views
    939

    Writing to a Tape Drive

    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...
  20. Replies
    1
    Views
    1,490

    Writting Data to Tape Drive

    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...
  21. Replies
    5
    Views
    8,681

    Ok, so now I switched compilers to Borland...

    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...
  22. Replies
    5
    Views
    8,681

    When I try #pragma comment(lib,"iphlpapi") I get...

    When I try #pragma comment(lib,"iphlpapi") I get the following error

    LINK : fatal error LNK1104: cannot open file "iphlpapi.lib"
  23. Replies
    5
    Views
    8,681

    Importing DLL / Library Files

    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...
  24. Replies
    3
    Views
    4,103

    Many Thanks, but I am using MS Visual C++ 6.0...

    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...
  25. Replies
    3
    Views
    4,103

    Gateway Address

    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...
Results 1 to 25 of 35
Page 1 of 2 1 2