Click here to Skip to main content
15,889,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing COM Object Invalid Pointer Error Pin
Ash_VCPP27-Nov-09 1:18
Ash_VCPP27-Nov-09 1:18 
AnswerRe: Using COM Object Invalid Pointer Error Pin
Richard MacCutchan27-Nov-09 2:11
mveRichard MacCutchan27-Nov-09 2:11 
GeneralRe: Using COM Object Invalid Pointer Error Pin
Ash_VCPP27-Nov-09 2:18
Ash_VCPP27-Nov-09 2:18 
GeneralRe: Using COM Object Invalid Pointer Error Pin
Richard MacCutchan27-Nov-09 2:22
mveRichard MacCutchan27-Nov-09 2:22 
GeneralRe: Using COM Object Invalid Pointer Error Pin
Ash_VCPP27-Nov-09 2:33
Ash_VCPP27-Nov-09 2:33 
GeneralRe: Using COM Object Invalid Pointer Error Pin
Richard MacCutchan27-Nov-09 2:59
mveRichard MacCutchan27-Nov-09 2:59 
AnswerRe: Using COM Object Invalid Pointer Error Pin
Jeff Archer27-Nov-09 5:13
Jeff Archer27-Nov-09 5:13 
GeneralRe: Using COM Object Invalid Pointer Error Pin
Ash_VCPP29-Nov-09 21:39
Ash_VCPP29-Nov-09 21:39 
Hi Jeff,

I think the helpstring which we pass in idl file will be the progID please let me know if i am wrong,So here i am using below line to get the class id:-

HRESULT hres1 = CLSIDFromProgID(OLESTR("ScriptObj 1.0 Type Library"), &clsid);

But still i am getting the same error.I have seen registry entry for my dll and its there with the string i mentioned in above function.Please provide me some suggestions on this.

Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....

GeneralRe: Using COM Object Invalid Pointer Error Pin
Jeff Archer2-Dec-09 2:10
Jeff Archer2-Dec-09 2:10 
Questionc++ reading a large text file with fstream Pin
nuttynibbles26-Nov-09 22:24
nuttynibbles26-Nov-09 22:24 
AnswerRe: c++ reading a large text file with fstream Pin
T210226-Nov-09 22:36
T210226-Nov-09 22:36 
GeneralRe: c++ reading a large text file with fstream Pin
nuttynibbles26-Nov-09 22:50
nuttynibbles26-Nov-09 22:50 
GeneralRe: c++ reading a large text file with fstream Pin
nuttynibbles26-Nov-09 22:59
nuttynibbles26-Nov-09 22:59 
GeneralRe: c++ reading a large text file with fstream Pin
Richard MacCutchan26-Nov-09 23:36
mveRichard MacCutchan26-Nov-09 23:36 
GeneralRe: c++ reading a large text file with fstream Pin
nuttynibbles27-Nov-09 2:01
nuttynibbles27-Nov-09 2:01 
QuestionAccessing the command line via Visual C++ Pin
N. Rackley26-Nov-09 21:57
N. Rackley26-Nov-09 21:57 
AnswerRe: Accessing the command line via Visual C++ Pin
Richard MacCutchan27-Nov-09 2:19
mveRichard MacCutchan27-Nov-09 2:19 
AnswerRe: Accessing the command line via Visual C++ Pin
Michael Schubert27-Nov-09 2:35
Michael Schubert27-Nov-09 2:35 
Questionchange font colour Pin
sonualex26-Nov-09 21:56
sonualex26-Nov-09 21:56 
AnswerRe: change font colour Pin
Richard MacCutchan26-Nov-09 23:51
mveRichard MacCutchan26-Nov-09 23:51 
GeneralRe: change font colour Pin
sonualex2-Dec-09 18:28
sonualex2-Dec-09 18:28 
GeneralRe: change font colour Pin
Richard MacCutchan2-Dec-09 23:46
mveRichard MacCutchan2-Dec-09 23:46 
QuestionHow can I get the XP appearance combobox with VC6.0? Pin
wanglinhai88826-Nov-09 15:55
wanglinhai88826-Nov-09 15:55 
AnswerRe: How can I get the XP appearance combobox with VC6.0? Pin
JohnCz26-Nov-09 17:45
JohnCz26-Nov-09 17:45 
GeneralRe: How can I get the XP appearance combobox with VC6.0? Pin
wanglinhai8886-Dec-09 19:18
wanglinhai8886-Dec-09 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.