What is the Delphi equivalent of
unsigned char** '
in C
i’m not sure if its a pointer to an array or a pointer to a pointer or if the two things are the same in C.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT
In C both pointer to an array and pointer to a pointer have different meaning to the compiler (thanks caf).
In C arrays are simply block of memory. There is no such function like
Length(array),Low(array)orHigh(array)that you can use on Pascal arrays. For practical purpose to Pascal programmers C arrays can be usually ported to Pascal pointers, especially on function calls to various API.If we assume that
usigned charcan be translated tobytein Delphi, thenunsigned char *can be translated to^bytethat is usually done viatypedeclaration that can look like:If you are trying to convert some C code, especially
.hheader file then look at headconv.