Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    c# Unable to load DLL Exception from HRESULT: 0x800736B1

    Ciao a tutti devo importare una dll In C# purtroppo mi da questo problema:
    Unable to load DLL 'C:\WINDOWS\system32\CryptoSrvLib.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)


    La dll la importo cosi:

    [DllImport("C:\\WINDOWS\\system32\\CryptoSrvLib.dll ")]
    public static extern int VerifySign(string pPublicKey, long dimPubKey, string pDigest, long dimDigest, string pText, long dimText);

    E la uso cosi:

    long pass;
    pass = VerifySign(key, key.Length, firm, firm.Length, md5, md5.Length);

    Qualcuno sa aiutarmi sono giorni che ci sbatto la testa e non ne vengo fuori grazie

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.