In this case - yes, you're absolutely correct!
david wrote:
Well,
I know that PCHAR is not 'const char *', and my compiler too has some knowledge about that, but for example StarBurn_ISO9660JolietFileTree_BuildImage is declared with
...
IN PCHAR p__PCHAR__VolumeSetName Pointer to the volume set.
IN PCHAR p__PCHAR__PublisherPreparerName Pointer to the publisher and preparer name.
IN PCHAR p__PCHAR__ApplictionName Pointer to the application name.
It is IMHO clear that these parameters are input only and const.
If this is the case, they should be declared as such. Otherwise the compiler
will complain when using const char *.
Regards,
Dave