Dealing with a curious issue.
I have three projects in Visual Studio (each in separate solutions)
1. glfx0.70 (an OpenGL shader creation library available here. It compiles to a static library 'glfx.lib')
2. my project (a fairly sophisticated game engine).
3. a tutorial project (a barebone opengl application that draws a triangle, that I got here )
My objective is to get the glfx functions working in my project. What I've observed is that if I call glCreateProgram() from within my project, it works fine. But if I call a glfx function which in turn calls glCreateProgram, it crashes instantly.
However, if I call glfx from within the tutorial project, no crashing occurs. I understand forgetting glewInit() is usually is the culprit here, but it has been called in my application prior to invoking any functions from glfx. Its as if the static library, glfx.lib is connected to a separate instance of glew that hasn't been initialized. However, adding 'glewInit()' inside the glfx code doesn't fix the problem either.
Any advice or ideas would be appreciated.