Too many people forget this (including myself) every now and then) so here is a reminder to use the [WayBack]*SetString*method when assigning strings from memory regions having characters but no null terminator: Anyway, assuming that you use a
Unicode Delphi you want to use SetString in its place: SetString(password, PWideChar(Credential.CredentialBlob), Credential.CredentialBlobSize div 2); It was […]
Weiterlesen...