My application is not running in Vista due MSChrt20.ocx; This control is not distributed in Vista.
I tried to register this control programmatically but the problem is I can not run regsvr32 utility from my program. [ShellExecute(NULL, "open", "Regsvr32.exe", "MSCHRT20.OCX /s", "C:\\windows\\system32\\", SW_HIDE);]

As an alternate approach, I thought of creating all the registry entries for this control manually but again I am not able to create the registry entries programmatically.

Did anyone face similar problem. I would really appreciate if someone tell me how to fix this as this one is release stopper!!!!!


I found a work around, manual solution: create a command shell; run it as admi; run regsvr32
But I dont want users to carry out the same exercise.