Click here to Skip to main content
15,899,825 members
Home / Discussions / COM
   

COM

 
AnswerRe: CocreateInstance fails Pin
prasad_som5-Dec-06 22:40
prasad_som5-Dec-06 22:40 
AnswerRe: CocreateInstance fails Pin
Stephen Hewitt5-Dec-06 20:27
Stephen Hewitt5-Dec-06 20:27 
GeneralRe: CocreateInstance fails Pin
Shailesh Ha5-Dec-06 23:17
Shailesh Ha5-Dec-06 23:17 
GeneralRe: CocreateInstance fails Pin
Stephen Hewitt6-Dec-06 12:03
Stephen Hewitt6-Dec-06 12:03 
GeneralRe: CocreateInstance fails Pin
prasad_som6-Dec-06 18:10
prasad_som6-Dec-06 18:10 
Questionshell programming Pin
sanwalz5-Dec-06 8:57
sanwalz5-Dec-06 8:57 
AnswerRe: shell programming Pin
prasad_som5-Dec-06 17:38
prasad_som5-Dec-06 17:38 
QuestionAdding form component in outlook 2003 Pin
Abhishektiwary5-Dec-06 2:06
Abhishektiwary5-Dec-06 2:06 
Hi Andrew,

Thanks for this article, really it is very knowledgeble.

I have downloaded demo project for costum form "A VC++ Outlook COM Add-in that publicizes a custom form" , but when I am giving build in vc++(6.0) editor, it is giving following error :

/******************************/
Compiling...
Addin.cpp
D:\OutlookProject\demo\OutlookAddin_demo\Addin.cpp(59) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'const char *'
D:\OutlookProject\demo\OutlookAddin_demo\Addin.cpp(112) : error C2664: '__thiscall ATL::CComPtr<struct office::_commandbarbutton="">::ATL::CComPtr<struct office::_commandbarbutton="">(struct Office::_CommandBarButton *)' : cannot convert parameter 1 from
'long' to 'struct Office::_CommandBarButton *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.

/**************************************/

I am not able to solve this error, could you please help me to fix this error.

Note : In my system having outlook 2003

Many Thanks
Abhishek

Abhishek Tiwary
Questionupdating Assembley in GAC Pin
mnaveed4-Dec-06 23:24
mnaveed4-Dec-06 23:24 
Question‘Permission denied’ error Pin
lafleon4-Dec-06 13:17
lafleon4-Dec-06 13:17 
Questionmarshaling char* Pin
deathBell4-Dec-06 6:36
deathBell4-Dec-06 6:36 
AnswerRe: marshaling char* Pin
lafleon4-Dec-06 11:39
lafleon4-Dec-06 11:39 
QuestionPowerPoint effects: How to figure out a current effect name within SlideShowNextBuild event handler? Pin
wasek20014-Dec-06 2:51
wasek20014-Dec-06 2:51 
Questionpassing binary to com Pin
Anilkumar K V4-Dec-06 1:07
Anilkumar K V4-Dec-06 1:07 
AnswerRe: passing binary to com Pin
lafleon4-Dec-06 11:45
lafleon4-Dec-06 11:45 
Questionregarding projects in asp.net Pin
hishhash2-Dec-06 0:16
hishhash2-Dec-06 0:16 
QuestionWMI Win32_pingStatus Pin
abhiramsss1-Dec-06 7:13
abhiramsss1-Dec-06 7:13 
QuestionChanging the size of ToolBand Dynamically Pin
georgekjolly1-Dec-06 0:59
georgekjolly1-Dec-06 0:59 
QuestionHow to take X , Y Coordinates of HTML Element Collections Pin
georgekjolly30-Nov-06 22:13
georgekjolly30-Nov-06 22:13 
QuestionHow do I use a third party Windows Forms control (VB.NET) Pin
tintinchasm30-Nov-06 3:13
tintinchasm30-Nov-06 3:13 
QuestionActivex GUI project Pin
jfuhrer30-Nov-06 2:09
jfuhrer30-Nov-06 2:09 
AnswerRe: Activex GUI project Pin
lafleon4-Dec-06 12:44
lafleon4-Dec-06 12:44 
QuestionHello. Pin
planC29-Nov-06 14:09
planC29-Nov-06 14:09 
QuestionCOM Wrapper Pin
sheetal_0628-Nov-06 23:07
sheetal_0628-Nov-06 23:07 
AnswerRe: COM Wrapper Pin
User 21559729-Nov-06 4:53
User 21559729-Nov-06 4:53 

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.