Try altering the attach function to this:
At least on my computer with a fairly new card I get "error C0201: unsupported version 150"Code:procedure TGLSLProgram.Attach(ashader: TShader); begin inherited Attach(ashader); ashader.Compile(); writeln(ashader.log); glAttachObjectARB(FProgramObject, ashader.FShaderObject); glDeleteObjectARB(ashader.FShaderObject); end;
Bookmarks