   CG Error
  Hello,I have some problem with CG:test.cppint wmain(int argc, char **argv) {glutInit(&argc, argv);glutInitDisplayMode(GLUT_DEPTH | GLUT_SINGLE | GLUT_RGBA);glutInitWindowSize(800,600);glutCreateWindow("Test: CG Shaders");context = cgCreateContext();if(!context) {std::cout << "Context Error\n";}profile = cgGLGetLatestProfile(CG_GL_VERTEX);if(profile == CG_PROFILE_UNKNOWN) {std::cout << "Unknown Profile\n";}cgGLSetOptimalOptions(profile);program = cgCreateProgram(context, CG_SOURCE, "dtank.cg", profile, "main", 0);if(!program) {CGerror error = cgGetError(); std::cout << cgGetErrorString(error);}glutDisplayFunc(Display);glutMainLoop();return 0;}dtank.cgstruct C2E1v_Output {  float4 position : POSITION;  float4 color    : COLOR;};C2E1v_Output main(float2 position : POSITION){  C2E1v_Output OUT;  OUT.position = float4(position, 0, 1);  OUT.color    = float4(0, 1, 0, 1);  // RGBA green  return OUT;}It gives me the an error without any comment.CG ERROR : The compile returned an error.How to fix it? My Specs if needed:EVGA GTX 285 1GBWindows 7 64-bit RCI am loading 32bit cg: lib\cgGL.lib lib\cg.libThanks,Kasya   
  The string input to cgCreateProgram is that of a shader program.  Your string is the name of the file that contains the shader program.  Try using cgCreateProgramFromFile.   ;  Thanks!   