Microsoft Icertadmin2 Interface From Python Ctypes
I'm trying to use the Microsofts ICertAdmin2 interface from Python using ctypes. http://msdn.microsoft.com/en-us/library/windows/desktop/aa383234(v=vs.85).aspx So far I can load th
Solution 1:
The last parameter of GetIssuedCertificate
is a pointer to a LONG. Use byref()
to pass it.
Also you should pass a BSTR as first and third arg.
out = request.GetIssuedCertificate( 'ca1\\simpleca' ), 1, None )
Baca Juga
- How To Build A Python Wheel With Compiled Fortran Extension Module Without Requiring A Specific Mingw Version On The User's System?
- Importerror: Could Not Find The Dll(s) 'msvcp140.dll Or Msvcp140_1.dll'. Even When The Files Are Located In The %path% Directory
- Access Violation In Logonuserw In Python 3
Post a Comment for "Microsoft Icertadmin2 Interface From Python Ctypes"