none
MD5 RRS feed

  • Frage

  • Hallo NG!,

    Ic hwürde gern MD5-Funktionen (MD5Init, MD5Update und MD5Final) mit VC6.0 verwenden, finde sie aber nicht. Was muss ich zusätzlich installieren?

     

    MfG,

    KS

     

    Freitag, 18. Juni 2010 08:46

Antworten

  • Hi Konrad!

    Ic hwürde gern MD5-Funktionen (MD5Init, MD5Update und MD5Final) mit VC6.0 verwenden, finde sie aber nicht. Was muss ich zusätzlich installieren?

    Nix...

    Siehe doku:
    http://msdn.microsoft.com/en-us/library/bb432358
     > This function has no associated header file or import library. You
     > must use the LoadLibrary or GetProcAddress functions to dynamically
     > link to Cryptdll.dll.


    Jochen Kalmbach (MVP VC++)
    Freitag, 18. Juni 2010 08:48

Alle Antworten

  • Hi Konrad!

    Ic hwürde gern MD5-Funktionen (MD5Init, MD5Update und MD5Final) mit VC6.0 verwenden, finde sie aber nicht. Was muss ich zusätzlich installieren?

    Nix...

    Siehe doku:
    http://msdn.microsoft.com/en-us/library/bb432358
     > This function has no associated header file or import library. You
     > must use the LoadLibrary or GetProcAddress functions to dynamically
     > link to Cryptdll.dll.


    Jochen Kalmbach (MVP VC++)
    Freitag, 18. Juni 2010 08:48
  • Hallo Konrad,

    Schau Dir mal den folgenden Link an. Vielleicht kann er Dir weiter helfen.

    Where is MD5.H and MD5_CTX? („I discovered that although MD5.h is referenced in the Microsoft

    documentation, that same documentation also states that the file

    doesn't exist, and that its associated DLL, cryptdll.dll, has to be

    LoadLibrary and GetProcAddress to be used. After creating my own MD5.h,

    and fiddling with LoadLibrary and GetProcAddress, I discovered that the

    WinXP DDK provides cryptdll.lib, which can be statically linked.

    MD5Init, MD5Update and MD5Final then available“)

     

    Grüße,

    Robert

    Freitag, 18. Juni 2010 09:56
    Moderator
  • Hi Robert!

    and fiddling with LoadLibrary and GetProcAddress, I discovered that the
    WinXP DDK provides cryptdll.lib, which can be statically linked.
    MD5Init, MD5Update and MD5Final then available“)

    Dinge aus dem DDK dürfen in einer Win32-Anwendung nicht verwendet werden! Das ist eine sehr gefährliche Vorgehensweise, wovon ich jedem abraten muss.

    Greetings
      Jochen


    Jochen Kalmbach (MVP VC++)
    Freitag, 18. Juni 2010 09:59