Quote: "Yes, you're right, but all I want to do is to display a warning message to users who don't own the correct version of DirectX."
I think the DBPro app bails out with an error like "can't find d3d9.dll" befor eit even runs, hence the only way your checking code will run is it if has 9.0c
As Me! says its best to use another language to find the version, which would then execute the dbpro app if 9.0c is there.
"A book. If u know something why cant u make a kool game or prog.
come on now. A book. I hate books. book is stupid. I know that I need codes but I dont know the codes"