Click here to Skip to main content
15,909,605 members
Home / Discussions / COM
   

COM

 
GeneralRe: Probably dumb question: passing IUnknown** to VB/MCPP/C# Pin
Florian Storck1-Jun-05 23:06
Florian Storck1-Jun-05 23:06 
GeneralOk. The dumbest 2 questions Pin
CherezZaboro16-May-05 4:53
CherezZaboro16-May-05 4:53 
GeneralRe: Ok. The dumbest 2 questions Pin
rwestgraham16-May-05 10:55
rwestgraham16-May-05 10:55 
GeneralRe: Ok. The dumbest 2 questions Pin
CherezZaboro16-May-05 11:01
CherezZaboro16-May-05 11:01 
GeneralRe: Ok. The dumbest 2 questions Pin
rwestgraham16-May-05 11:37
rwestgraham16-May-05 11:37 
GeneralRe: Ok. The dumbest 2 questions Pin
User 21559721-May-05 0:38
User 21559721-May-05 0:38 
GeneralDCOM and C# Pin
Millzy14-May-05 10:22
Millzy14-May-05 10:22 
GeneralSharing enums between COM objects Pin
Sir Garence12-May-05 23:52
sussSir Garence12-May-05 23:52 
GeneralRe: Sharing enums between COM objects Pin
User 21559719-May-05 21:45
User 21559719-May-05 21:45 
GeneralRe: Sharing enums between COM objects Pin
Hariharan.T19-May-05 23:14
Hariharan.T19-May-05 23:14 
GeneralGetting SafeArray** in C++ from VB COM Pin
hanofee12-May-05 22:59
hanofee12-May-05 22:59 
GeneralConverting interface pointers Pin
Mikke_x12-May-05 19:20
Mikke_x12-May-05 19:20 
GeneralRe: Converting interface pointers Pin
ursus zeta15-May-05 9:48
ursus zeta15-May-05 9:48 
GeneralStrange behavior of BSTRs in DCOM Pin
morenz12-May-05 3:01
morenz12-May-05 3:01 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
Indagro12-May-05 20:54
Indagro12-May-05 20:54 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
morenz16-May-05 5:19
morenz16-May-05 5:19 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
Indagro18-May-05 23:35
Indagro18-May-05 23:35 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
morenz20-May-05 13:08
morenz20-May-05 13:08 
OK, I tried to follow your tip and went into trouble again (i'm not SO experiencedLaugh | :laugh: ).
Most of my server Interface's methods use the BSTR type. I tried to change it, but now I need to know how to declare the _bstr_t type in my IDL file. I tried using both import and include (with and without #) WTYPES.H (where _bstr_t is defined) and it seemed not to work (preprocessor error). How to declare it?

Another STRAAAAANGE thing is that it fails calling methods that has three int parameters... I know that native C types do not need to be marsaled, am I right?
i.e.:

theApp.m_pIHello->SetLocation (2,1,0)

seems to fail, where function prototype in server side is

STDMETHODTYPE CHardwareAsset::SetLocation (int Master, int slot, int SubAssy)

I put a statement to log on a file somw phrases just to know where the program goes and what it does, but when I call the method above, the server creates the object, but does NOT log the SetLocation Fu8nction (the logFile statement is the first, just before variable declaration!)

Very strange, isn't it? Or it's me that need to return to school and study a lot? Laugh | :laugh:

Thanks again...
GeneralRe: Strange behavior of BSTRs in DCOM Pin
Vi212-May-05 21:08
Vi212-May-05 21:08 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
morenz16-May-05 2:52
morenz16-May-05 2:52 
GeneralMS Excel 10.0 object library Pin
Member 164882912-May-05 0:55
Member 164882912-May-05 0:55 
GeneralNeed help in NetMeeting Desktop Sharing Pin
shainisnair12-May-05 0:46
shainisnair12-May-05 0:46 
GeneralUsing two .tlb files which has same class/interface Pin
jabhi197411-May-05 21:26
jabhi197411-May-05 21:26 
GeneralRe: Using two .tlb files which has same class/interface Pin
Indagro12-May-05 21:08
Indagro12-May-05 21:08 
GeneralMTS packages Pin
Pavneet Singh10-May-05 0:58
Pavneet Singh10-May-05 0: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.