Click here to Skip to main content
15,898,036 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM programming Pin
User 2155978-Dec-04 4:17
User 2155978-Dec-04 4:17 
GeneralRe: COM programming Pin
Andy Hunter8-Dec-04 10:11
Andy Hunter8-Dec-04 10:11 
QuestionHow to change name of coclass ? Pin
arun14056-Dec-04 2:02
arun14056-Dec-04 2:02 
GeneralAdding Button to Outlook Message Window Pin
lukevandiest3-Dec-04 9:50
lukevandiest3-Dec-04 9:50 
GeneralPassing string array pointer from managed code to unmanaged .COM Pin
Member 8391433-Dec-04 1:04
Member 8391433-Dec-04 1:04 
GeneralVBA method calling from an Object type Pin
RChin3-Dec-04 0:28
RChin3-Dec-04 0:28 
GeneralRe: VBA method calling from an Object type Pin
RChin3-Dec-04 0:40
RChin3-Dec-04 0:40 
GeneralRe: VBA method calling from an Object type Pin
Vi26-Dec-04 3:07
Vi26-Dec-04 3:07 
Are string types treated differently when called via an Object type?

Of course. Strings can be passed by VARIANT with VT_BSTR (your second case) or VT_BSTR|VT_BYREF (your first case).

Probably, the Invoke-helper for your class cannot process this vt-value.
Set the breakpoint inside Invoke(...) of your class and test it.

PS
Your can also get the valid result with extra parentheses around String.
call Obj.SetTitle(2057, (strTitle))

With best wishes,
Vita
GeneralRe: VBA method calling from an Object type Pin
RChin7-Dec-04 1:14
RChin7-Dec-04 1:14 
GeneralSAFEARRAY(IDispatch*) problem in matlab Pin
tpndtbk2-Dec-04 5:43
tpndtbk2-Dec-04 5:43 
GeneralRe: SAFEARRAY(IDispatch*) problem in matlab Pin
Anonymous3-Dec-04 0:05
Anonymous3-Dec-04 0:05 
GeneralRe: SAFEARRAY(IDispatch*) problem in matlab Pin
tpndtbk3-Dec-04 2:33
tpndtbk3-Dec-04 2:33 
GeneralExporting Outlook Mailboxes programmatically Pin
Kri52-Dec-04 4:59
Kri52-Dec-04 4:59 
GeneralRe: Exporting Outlook Mailboxes programmatically Pin
perlmunger3-Dec-04 5:05
perlmunger3-Dec-04 5:05 
GeneralSystem.Runtime.InteropServices.SEHException Error Pin
vinesh kara1-Dec-04 20:28
vinesh kara1-Dec-04 20:28 
GeneralATL support to existing MFC application Pin
Ro_land1-Dec-04 19:21
Ro_land1-Dec-04 19:21 
GeneralRe: ATL support to existing MFC application Pin
FearlessBurner2-Dec-04 0:04
FearlessBurner2-Dec-04 0:04 
GeneralRe: ATL support to existing MFC application Pin
FearlessBurner2-Dec-04 2:30
FearlessBurner2-Dec-04 2:30 
GeneralRe: ATL support to existing MFC application Pin
Ro_land2-Dec-04 4:16
Ro_land2-Dec-04 4:16 
GeneralRe: ATL support to existing MFC application : END OF THREAD --> SOLUTION Pin
Ro_land2-Dec-04 11:49
Ro_land2-Dec-04 11:49 
GeneralRe: ATL support to existing MFC application : END OF THREAD --> SOLUTION Pin
FearlessBurner2-Dec-04 23:48
FearlessBurner2-Dec-04 23:48 
GeneralCOM+ Transaction Lifetime Pin
ProffK1-Dec-04 18:55
ProffK1-Dec-04 18:55 
GeneralAbout "optional" attribute in IDL Pin
User 21559730-Nov-04 18:34
User 21559730-Nov-04 18:34 
GeneralRe: About "optional" attribute in IDL Pin
Raja R30-Nov-04 19:44
Raja R30-Nov-04 19:44 
GeneralAccessing run-time only props. Pin
John R. Shaw30-Nov-04 14:58
John R. Shaw30-Nov-04 14:58 

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.