[fpc-pascal] Better way to convert short string to pchar?

Ryan Joseph ryan at thealchemistguild.com
Fri Feb 23 12:55:36 CET 2018



> On Feb 23, 2018, at 6:51 PM, Marco van de Voort <marcov at stack.nl> wrote:
> 
> When creating the content of name append #0 (name:=whateverexpression+#0 ); , then do
>  result = glGetUniformLocation(programID, @name[1]);

Thanks now I remember. That was driving me crazy.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list