We're using U9.2 - before $encode/$decode were implemented & we'd like to decode base64 we're receiving.
Tried to use the cryptBinaryToStringA operation in the crypt32.dll but not sure how to define the parameters: a couple are 'pointers'.
Presumably we also have to specify the dll in the asn file?
Can anybody help?
Crypt32.dll Wincrypt.h
C++ function to convert an array of bytes into a formatted string.
If the function succeeds, the function returns nonzero (TRUE).
If the function fails, it returns zero (FALSE).
BOOL CryptBinaryToStringA(
[in] const BYTE *pbBinary, Pointer to the array of bytes to be converted into a string.
[in] DWORD cbBinary, Number of elements in the pbBinary array.
[in] DWORD dwFlags, Format of the resulting formatted string.
[out, optional] LPSTR pszString,
[in, out] DWORD *pcchString);
------------------------------
R W
Hargreaves Lansdown Asset Mgmt
Bristol GB
------------------------------