New
#1
Programmatic ocx registration under Windows 7
I have a complex program as demo for my large application, which at the beginning is capable to programmatic register OCXs and launches another executable using programmatic command prompt. It works well under Windows XP but under Windows 7 runs properly only if I run it under administrator. If I don’t run as administrator the only thing that I see is that the OCXs are not registered (one of the ocx is for showing images).
I would like to know if there is any way to programmatically register components as administrative rights (eventually additional parameter when I register components in command prompt).
With other words I would like the user of this demo to double click in the application and to be able to run everything as in Windows Xp, not launching application by right click choosing running it in certain way.