Hi, I'm writing a plugin for a program using Delphi. Two of the parameters one of my functions needs to take are listed as:
And I need to be able to pass data back to the main program in these parameters as well. I've tried various combinations of PChars and arrays of characters with the result being the main program crashing every time. Does anyone know what I'm meant to declare them as?
Code:
char *data, char *parms
And I need to be able to pass data back to the main program in these parameters as well. I've tried various combinations of PChars and arrays of characters with the result being the main program crashing every time. Does anyone know what I'm meant to declare them as?