My problem is that all OpenCL applications crash on using clGetPlatformIDs on Win 7 64-bit, SDK 2.6 and driver 12.1 and 12.2preview. Precompiled samples from the SDK work fine, but the ones I'm trying to build won't run because system cannot find glew32.dll, although system Path contains C:\Windows\System32 and user PATH includes SDK sample bin (with glut and glew dlls). I read that user PATH appends to system Path, but it cannot find it.
I guess that the two problems relate to each other, but I cannot find the source of the problem. My guess is that it links to wrong library, but I don't know how to find that out on Windows 7.
System Path: C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Kellekek\ATI Technologies\ATI.ACE\Core-Static
User PATH: C:\Kellekek\SFML\bin;C:\Kellekek\SFGUI\bin;C:\Kellekek\AMD\clAmdFft\bin32;C:\Users\Nagy Máté Ferenc\Documents\AMD APP\bin\x86
Any ideas how to go about solving the problem?
Thanks in advance,