Monday, April 16, 2012

Solution to Drivers problem in Windows7 64bit

I recently purchased a laptop with Windows7 64bit OS preloaded as my old PC was proving a bottleneck for me. And believe me since then I had so many problems installing or running many of my favourite programs or IDEs.
And everytime after going through so many posts by my learned friends on net and trying many many supposed to be solutions I was finally able to get through the problem successfully. (Thanx to all those who take time to post all those useful informations).
And now I want to share with you all, the root of these problems(as understood by me). My able and learned friends are requested to guide me if I am wrong or if anything is to be added to the post.

Scene1: You have copied glut32.dll file into your %windir%\System32\% folder and when you link a file for opengl project in VC++ you get missing drivers or file error.


Scene2:You want to create an ODBC date connection and when you try to create a DSN you see that you are unable to add an ACCESS DSN due to missing drivers.


and many more........


Reason for the problem or error:
In windows7 64bit for security reason the drivers or .dll files path is changed to %windir%\SysWOW64\%.
But your program or IDEs still search for .dll in %system32% folder.


Solution:
Scene1:
Add .dll files to %windir%\SysWOW64\% folder instead of %windir%\System32\% folder.


Scene2:
In Administrator tools right click Data Source(ODBC) > properties and set Target path to %windir%\SysWOW64\odbcad32.exe 
Now you will be able to add ACCESS or many other data sources type for ODBS.


So if you face any issue for drivers or .dll please take this angle into consideration as a solution.

No comments:

Post a Comment