Click here to Skip to main content
11,712,820 members (80,382 online)
   

COM

 
AnswerRe: AppCrash Issue related to COM? Pin
Richard MacCutchan24-Jan-13 23:01
mvpRichard MacCutchan24-Jan-13 23:01 
GeneralRe: AppCrash Issue related to COM? Pin
Tony Tullemans28-Jan-13 11:28
memberTony Tullemans28-Jan-13 11:28 
GeneralRe: AppCrash Issue related to COM? Pin
Richard MacCutchan28-Jan-13 22:32
mvpRichard MacCutchan28-Jan-13 22:32 
AnswerRe: AppCrash Issue related to COM? Pin
Stephen Hewitt27-Jan-13 14:13
memberStephen Hewitt27-Jan-13 14:13 
Questionuse webbrowser to visit many webs without a break cause crash Pin
BianChengNan21-Jan-13 14:52
memberBianChengNan21-Jan-13 14:52 
QuestionHow to register a com exe without admin rights? Pin
Adarapu Harikrishna11-Jan-13 9:37
memberAdarapu Harikrishna11-Jan-13 9:37 
AnswerRe: How to register a com exe without admin rights? Pin
Richard MacCutchan12-Jan-13 0:10
mvpRichard MacCutchan12-Jan-13 0:10 
GeneralRe: How to register a com exe without admin rights? Pin
Marius Bancila23-Jan-13 10:37
memberMarius Bancila23-Jan-13 10:37 
GeneralRe: How to register a com exe without admin rights? Pin
Richard MacCutchan23-Jan-13 22:48
mvpRichard MacCutchan23-Jan-13 22:48 
GeneralRe: How to register a com exe without admin rights? Pin
Marius Bancila24-Jan-13 3:07
memberMarius Bancila24-Jan-13 3:07 
QuestionWhat type of permissions are needed to resolve Acccess denied for GetDsOfNames to registry entry HKCR\Typelib Pin
ForNow7-Jan-13 11:41
memberForNow7-Jan-13 11:41 
AnswerRe: What type of permissions are needed to resolve Acccess denied for GetDsOfNames to registry entry HKCR\Typelib Pin
Richard MacCutchan7-Jan-13 22:20
mvpRichard MacCutchan7-Jan-13 22:20 
QuestionCreating .OCX file hangs Pin
ForNow1-Jan-13 17:44
memberForNow1-Jan-13 17:44 
QuestionGetIDsOfNames returning -1 Pin
ForNow27-Dec-12 12:28
memberForNow27-Dec-12 12:28 
Hi,

I am writting a COM app using the MFC wrappers

There are however certain methods/properties which don't have C/C++ prototypes

so I decided to use native OLE functions

I never got by GetIDsOfNames as
what ever method name I insert I get a -1

I have tried native OLE

CoInitialize(NULL);  //native ole
CLSID clsid;         // initialization
HRESULT hr = CLSIDFromProgID(L"Excel.Application",&clsid);


and the MFC wrappers function
_application::CreateDispath 
as this method populates
m_lpDispatch 

And whatever method property I use I get -1

Any help appreciated
AnswerRe: GetIDsOfNames returning -1 Pin
Richard MacCutchan27-Dec-12 21:48
mvpRichard MacCutchan27-Dec-12 21:48 
QuestionMixing native OLE with MFC interface/wrappers Pin
ForNow26-Dec-12 15:30
memberForNow26-Dec-12 15:30 
AnswerRe: Mixing native OLE with MFC interface/wrappers Pin
DriveByCoder24-Mar-15 7:41
memberDriveByCoder24-Mar-15 7:41 
Question_WorkSheet::Paste usage Pin
ForNow19-Dec-12 13:01
memberForNow19-Dec-12 13:01 
AnswerRe: _WorkSheet::Paste usage Pin
Jochen Arndt19-Dec-12 21:45
memberJochen Arndt19-Dec-12 21:45 
GeneralRe: _WorkSheet::Paste usage Pin
ForNow20-Dec-12 5:21
memberForNow20-Dec-12 5:21 
GeneralRe: _WorkSheet::Paste usage Pin
Jochen Arndt20-Dec-12 21:04
memberJochen Arndt20-Dec-12 21:04 
QuestionMSDN documentation for MFC OLE wrapper method/prperties Pin
ForNow17-Dec-12 13:10
memberForNow17-Dec-12 13:10 
AnswerRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
Richard MacCutchan17-Dec-12 22:19
mvpRichard MacCutchan17-Dec-12 22:19 
GeneralRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
ForNow18-Dec-12 2:28
memberForNow18-Dec-12 2:28 
GeneralRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
Richard MacCutchan18-Dec-12 2:54
mvpRichard MacCutchan18-Dec-12 2:54 
Questionabout screen reader how to read PDF file Pin
BianChengNan16-Dec-12 16:01
memberBianChengNan16-Dec-12 16:01 
AnswerRe: about screen reader how to read PDF file Pin
April Fans27-Dec-12 15:20
memberApril Fans27-Dec-12 15:20 
GeneralRe: about screen reader how to read PDF file Pin
BianChengNan27-Dec-12 17:41
memberBianChengNan27-Dec-12 17:41 
GeneralRe: about screen reader how to read PDF file Pin
April Fans27-Dec-12 20:34
memberApril Fans27-Dec-12 20:34 
GeneralRe: about screen reader how to read PDF file Pin
BianChengNan21-Jan-13 14:41
memberBianChengNan21-Jan-13 14:41 
Questionrange setvalue Pin
ForNow13-Dec-12 15:31
memberForNow13-Dec-12 15:31 
SuggestionRe: range setvalue Pin
Richard MacCutchan13-Dec-12 22:52
mvpRichard MacCutchan13-Dec-12 22:52 
GeneralRe: range setvalue Pin
ForNow14-Dec-12 8:00
memberForNow14-Dec-12 8:00 
GeneralRe: range setvalue Pin
Richard MacCutchan14-Dec-12 21:40
mvpRichard MacCutchan14-Dec-12 21:40 
GeneralRe: range setvalue Pin
ForNow15-Dec-12 15:23
memberForNow15-Dec-12 15:23 
GeneralRe: range setvalue Pin
Richard MacCutchan15-Dec-12 21:09
mvpRichard MacCutchan15-Dec-12 21:09 
QuestionPUT_VISIBLE documentation Pin
ForNow12-Dec-12 13:21
memberForNow12-Dec-12 13:21 
AnswerRe: PUT_VISIBLE documentation Pin
Richard MacCutchan12-Dec-12 22:45
mvpRichard MacCutchan12-Dec-12 22:45 
GeneralRe: PUT_VISIBLE documentation Pin
ForNow13-Dec-12 10:06
memberForNow13-Dec-12 10:06 
QuestionRe: PUT_VISIBLE documentation Pin
Richard MacCutchan13-Dec-12 22:51
mvpRichard MacCutchan13-Dec-12 22:51 
Questionerror C1083: Cannot open type library file: 'libid:00020813-0000-0000-C000-000000000046': No such file or directory Pin
ForNow5-Dec-12 9:19
memberForNow5-Dec-12 9:19 
Question.NET COM DLL doesn't register. Pin
Joni_7829-Nov-12 5:10
memberJoni_7829-Nov-12 5:10 
AnswerRe: .NET COM DLL doesn't register. Pin
Richard MacCutchan29-Nov-12 6:34
mvpRichard MacCutchan29-Nov-12 6:34 
GeneralRe: .NET COM DLL doesn't register. Pin
Joni_7829-Nov-12 6:40
memberJoni_7829-Nov-12 6:40 
GeneralRe: .NET COM DLL doesn't register. Pin
Richard MacCutchan29-Nov-12 6:59
mvpRichard MacCutchan29-Nov-12 6:59 
Questionoffice 2003 interop Pin
developer life12-Nov-12 10:34
memberdeveloper life12-Nov-12 10:34 
AnswerRe: office 2003 interop Pin
Bernhard Hiller19-Nov-12 22:40
memberBernhard Hiller19-Nov-12 22:40 
GeneralRe: office 2003 interop Pin
AnkitGoel.com10-Dec-12 17:47
memberAnkitGoel.com10-Dec-12 17:47 
QuestionHow to get INTERFACEDATA from ITypeInfo? Pin
masterhe11-Nov-12 3:50
membermasterhe11-Nov-12 3:50 
QuestionHow to add a bar in the bottom of Windows Explorer(not IE)? Pin
ohsorry9-Nov-12 16:07
memberohsorry9-Nov-12 16:07 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 14 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid