opencl programming : platform capabilities informations

Hi,

I have developped an small program using OpenCl. I know the user has to have Opencl drivers installed on his machine depending his graphic card. I have two questions :

  1. I would like to developp a method (C++ or C) that will inform if Opencl can be supported in the machine. This information has to be done even when none driver is installed.
    This would be useful to inform the user if he has to let down or download the latest drivers for his platform.

  2. As my program asks opencl.dll on startup if not present, I’ve included a default opencl.dll file taken from my nvidia cards driver.
    Is there another solution (other than GetProcAddress(…) ) to avoid opencl.dll message box as my program has to start even if openCl isn’t supported ?

Thank you

Thomas