C++ Programming
12-01-2009, 10:00 AM
Hi All,
i have created one com component type library, after registring it it is showing entry in CLSID but ProgID has not been created(seen in regedit),and i am unable to create instance for this object.i am trying two possible ways:-
HRESULT hres1 = CLSIDFromProgID(OLESTR("ScriptObj.ScriptObj"), &clsid);
and
HRESULT hres = sobj.CreateInstance("{7B10869E-824C-4BB4-B344-73AC5AF9E1E}");
but failing in both the cases.
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....
i have created one com component type library, after registring it it is showing entry in CLSID but ProgID has not been created(seen in regedit),and i am unable to create instance for this object.i am trying two possible ways:-
HRESULT hres1 = CLSIDFromProgID(OLESTR("ScriptObj.ScriptObj"), &clsid);
and
HRESULT hres = sobj.CreateInstance("{7B10869E-824C-4BB4-B344-73AC5AF9E1E}");
but failing in both the cases.
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....