Click here to Skip to main content
15,501,968 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to register a com exe without admin rights? Pin
Richard MacCutchan12-Jan-13 1:10
mveRichard MacCutchan12-Jan-13 1:10 
GeneralRe: How to register a com exe without admin rights? Pin
Marius Bancila23-Jan-13 11:37
professionalMarius Bancila23-Jan-13 11:37 
GeneralRe: How to register a com exe without admin rights? Pin
Richard MacCutchan23-Jan-13 23:48
mveRichard MacCutchan23-Jan-13 23:48 
GeneralRe: How to register a com exe without admin rights? Pin
Marius Bancila24-Jan-13 4:07
professionalMarius Bancila24-Jan-13 4:07 
QuestionWhat type of permissions are needed to resolve Acccess denied for GetDsOfNames to registry entry HKCR\Typelib Pin
ForNow7-Jan-13 12:41
MemberForNow7-Jan-13 12:41 
AnswerRe: What type of permissions are needed to resolve Acccess denied for GetDsOfNames to registry entry HKCR\Typelib Pin
Richard MacCutchan7-Jan-13 23:20
mveRichard MacCutchan7-Jan-13 23:20 
QuestionCreating .OCX file hangs Pin
ForNow1-Jan-13 18:44
MemberForNow1-Jan-13 18:44 
QuestionGetIDsOfNames returning -1 Pin
ForNow27-Dec-12 13:28
MemberForNow27-Dec-12 13: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

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


and the MFC wrappers function
C++
_application::CreateDispath 

as this method populates
C++
m_lpDispatch 


And whatever method property I use I get -1

Any help appreciated
AnswerRe: GetIDsOfNames returning -1 Pin
Richard MacCutchan27-Dec-12 22:48
mveRichard MacCutchan27-Dec-12 22:48 
QuestionMixing native OLE with MFC interface/wrappers Pin
ForNow26-Dec-12 16:30
MemberForNow26-Dec-12 16:30 
AnswerRe: Mixing native OLE with MFC interface/wrappers Pin
DriveByCoder24-Mar-15 8:41
professionalDriveByCoder24-Mar-15 8:41 
Question_WorkSheet::Paste usage Pin
ForNow19-Dec-12 14:01
MemberForNow19-Dec-12 14:01 
AnswerRe: _WorkSheet::Paste usage Pin
Jochen Arndt19-Dec-12 22:45
professionalJochen Arndt19-Dec-12 22:45 
GeneralRe: _WorkSheet::Paste usage Pin
ForNow20-Dec-12 6:21
MemberForNow20-Dec-12 6:21 
GeneralRe: _WorkSheet::Paste usage Pin
Jochen Arndt20-Dec-12 22:04
professionalJochen Arndt20-Dec-12 22:04 
QuestionMSDN documentation for MFC OLE wrapper method/prperties Pin
ForNow17-Dec-12 14:10
MemberForNow17-Dec-12 14:10 
AnswerRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
Richard MacCutchan17-Dec-12 23:19
mveRichard MacCutchan17-Dec-12 23:19 
GeneralRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
ForNow18-Dec-12 3:28
MemberForNow18-Dec-12 3:28 
GeneralRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
Richard MacCutchan18-Dec-12 3:54
mveRichard MacCutchan18-Dec-12 3:54 
Questionabout screen reader how to read PDF file Pin
BCN-16316-Dec-12 17:01
MemberBCN-16316-Dec-12 17:01 
AnswerRe: about screen reader how to read PDF file Pin
April Fans27-Dec-12 16:20
MemberApril Fans27-Dec-12 16:20 
GeneralRe: about screen reader how to read PDF file Pin
BCN-16327-Dec-12 18:41
MemberBCN-16327-Dec-12 18:41 
GeneralRe: about screen reader how to read PDF file Pin
April Fans27-Dec-12 21:34
MemberApril Fans27-Dec-12 21:34 
GeneralRe: about screen reader how to read PDF file Pin
BCN-16321-Jan-13 15:41
MemberBCN-16321-Jan-13 15:41 
Questionrange setvalue Pin
ForNow13-Dec-12 16:31
MemberForNow13-Dec-12 16:31 

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.