View Single Post
  #3 (permalink)  
Old 03-26-2008
superbill superbill is offline
WinVistaForums.com
 
Join Date: Feb 2008
Location: Scone rightful capital of Scotland.
Posts: 239
superbill has a spectacular aura about
Re: reading vista registry...urgent
Hi



Found this on a Google!


After having a look at the code, I find that the Create member function of CLogin tries to create an ActiveX control with CLSID “{20DD1B9E-87C4-11D1-8BE3-0000F8754DA1}”, thus, you should make sure that this ActiveX control is properly registered on the system.

All registered ActiveX control CLSIDs are stored under “HKEY_CLASSES_ROOT\CLSID”, if this ActiveX control is registered, there will be a register key “HKEY_CLASSES_ROOT\CLSID\ {20DD1B9E-87C4-11D1-8BE3-0000F8754DA1}”.

Because this ActiveX control has been registered on your Windows 2000 system, thus, it works well. However, it hasn’t been registered on your Windows XP System, thus, it won’t work well.

The project seems to act as an ActiveX container, thus, I suggest you modify the clsid member of CLogin to any existing ActiveX control CLSID.

On the usage of CreateControl function, you can refer to
http://msdn2.microsoft.com/en-us/library/2wyzh77w.aspx

Hope this helps! Didn't understand any of it!!!!!!!!!!!!
Reply With Quote