Hi,
I'm experiencing odd problem. I have Intel opencl installed on my machine and everything works ok. Once the AMD OpenCL got installed the same code crashes with access violation within amdocl64.dll when calling clGetPlatformIDs. I've changed the include path and library path to compile and link with AMD ocl with same result. The problem disappears once the AMD SDK is uninstalled.
Running under Win8, VS2012, the project has x64 configuration only.
Looks like it loads wrong DLLs or something but I have no clue how to handle this problem.