Click here to Skip to main content
15,888,351 members
Home / Discussions / COM
   

COM

 
QuestionHow to using C# Class Library in VC++/COM Pin
Member 42194196-Jan-08 23:45
Member 42194196-Jan-08 23:45 
GeneralRe: How to using C# Class Library in VC++/COM Pin
Mike Dimmick7-Jan-08 11:00
Mike Dimmick7-Jan-08 11:00 
GeneralCOM on MAC Operating System Pin
Gupta Suraj6-Jan-08 22:08
Gupta Suraj6-Jan-08 22:08 
GeneralATL_NO_VTABLE means ..... Pin
tasumisra6-Jan-08 18:18
tasumisra6-Jan-08 18:18 
GeneralRe: ATL_NO_VTABLE means ..... Pin
CPallini6-Jan-08 22:00
mveCPallini6-Jan-08 22:00 
GeneralRe: ATL_NO_VTABLE means ..... Pin
Mike Dimmick6-Jan-08 23:58
Mike Dimmick6-Jan-08 23:58 
QuestionHow to call a function in DLL Pin
chaitannya_m4-Jan-08 4:12
chaitannya_m4-Jan-08 4:12 
QuestionVS2008, MIDL compiler bug Pin
Gary Wheeler4-Jan-08 4:10
Gary Wheeler4-Jan-08 4:10 
It appears there's a bug in the MIDL compiler installed with Visual Studio 2008. When it generates proxy routines, it creates code like this:
/* [helpstring] */ HRESULT STDMETHODCALLTYPE ITestProxy_Method125_Proxy( 
    ITestProxy * This,
    /* [out] */ BSTR *path)
{
CLIENT_CALL_RETURN _RetVal;

_RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &TestProxy__MIDL_ProcFormatString.Format[4500,
                  ( unsigned char * )&This);
return ( HRESULT  )_RetVal.Simple;

}
Notice the missing right bracket (']') on the .Format call? Obviously, this causes a compile error.

Has anybody else seen this, and is there a solution?

For the moment, I'm going to write a post-processor for the MIDL stuff to fix this by hand, but that's a butt-ugly way to deal with it.

Software Zen: delete this;

GeneralRe: VS2008, MIDL compiler bug Pin
Mike Dimmick6-Jan-08 8:27
Mike Dimmick6-Jan-08 8:27 
GeneralRe: VS2008, MIDL compiler bug Pin
Gary Wheeler7-Jan-08 1:16
Gary Wheeler7-Jan-08 1:16 
GeneralRe: VS2008, MIDL compiler bug Pin
Mike Dimmick7-Jan-08 10:58
Mike Dimmick7-Jan-08 10:58 
GeneralRe: VS2008, MIDL compiler bug Pin
Gary Wheeler8-Jan-08 0:52
Gary Wheeler8-Jan-08 0:52 
GeneralRe: VS2008, MIDL compiler bug Pin
Mike Dimmick8-Jan-08 9:40
Mike Dimmick8-Jan-08 9:40 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
mla1543-Jan-08 10:05
mla1543-Jan-08 10:05 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
CPallini3-Jan-08 10:53
mveCPallini3-Jan-08 10:53 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
mla1543-Jan-08 11:17
mla1543-Jan-08 11:17 
QuestionRe: Calling ActiveX DLL from MFC - passing arrays Pin
CPallini3-Jan-08 21:11
mveCPallini3-Jan-08 21:11 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
mla1544-Jan-08 3:39
mla1544-Jan-08 3:39 
AnswerRe: Calling ActiveX DLL from MFC - passing arrays Pin
Lim Bio Liong4-Jan-08 23:24
Lim Bio Liong4-Jan-08 23:24 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays [modified] Pin
mla1547-Jan-08 4:24
mla1547-Jan-08 4:24 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
Lim Bio Liong7-Jan-08 15:10
Lim Bio Liong7-Jan-08 15:10 
QuestionMSSOAPLib30 SoapReader30Class LoadWithParser Error Pin
miauwmiauwmiauw2-Jan-08 19:31
miauwmiauwmiauw2-Jan-08 19:31 
QuestionHow to Use events from VB.NET in VC.NET? Pin
ritz12341-Jan-08 2:38
ritz12341-Jan-08 2:38 
GeneralActiveXControl with empty Parameters in c# Pin
FriendOfAsherah30-Dec-07 23:14
FriendOfAsherah30-Dec-07 23:14 
Questionprinting - dot matrix printer Pin
bijumon Mathew30-Dec-07 18:54
bijumon Mathew30-Dec-07 18:54 

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.