well, difficult to guess what that could be, but perhaps something related to DEP if you work on windows XP sp2 or newer. I had this problems with OpenGL and solved it by marking my app incompatible with DEP.