Skip to main content
gamedev.net
🔒 Locked

cgDestroyProgram crashs

Started by mabeghin 0 replies 800+ views
Original Post
mabeghin
mabeghin
Does anyone know why cgDestroyProgram would result in an access violation error ? The vertex shader is created, loaded and binded with no error, it is not binded when destroying, but cgDestroyProgram creates an access violation... Thanks [Edited by - mabeghin on December 3, 2005 9:39:25 AM]
mabeghin
mabeghin
I found the solution, I had different dlls installed in Windows folder than the one installed by CG SDK 1.4, so it was using CgD3D9.dll from SDK 1.4 and cg.dll from the windows system32 folder. Don't know which application installed these dlls in sys32...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.