Just by curiosity... can I use the OpenCL.lib you include with VS2008, VS2008SP1, VS2010 and VS2010 SP1? AFAIK, if you usea precompipled .lib using other C CRT model or service pack can cause problems with the CRT or the memory heap.
thx