For the use of a DLL I have only the C Header Files available. Now I am converting these header files to Delphi Interface Files. That works quite well till there occur complex C Typedef like this one:
typedef struct _IFSDK_PAUSE
{
int version;
FPDF_BOOL (*NeedToPauseNow) (struct _IFSDK_PAUSE* pThis);
void* user;
} IFSDK_PAUSE;
that converts to:
type
IFSDK_PAUSE = record
version: Integer;
pThis: <----- Problem!!!
user: Pointer;
end
How do I convert these complex Typedefs correctly?