Click here to Skip to main content
15,890,897 members
Home / Discussions / COM
   

COM

 
GeneralRe: Can i have two components with same ProgID ? Pin
User 21559730-Mar-04 17:39
User 21559730-Mar-04 17:39 
GeneralInterface as Events parameter and it release Pin
El'Cachubrey30-Mar-04 2:59
El'Cachubrey30-Mar-04 2:59 
GeneralRe: Interface as Events parameter and it release Pin
Anonymous30-Mar-04 8:42
Anonymous30-Mar-04 8:42 
GeneralRe: Interface as Events parameter and it release Pin
Vi231-Mar-04 1:22
Vi231-Mar-04 1:22 
GeneralData Bound ActiveX control Pin
Dimitris Vasiliadis29-Mar-04 23:29
Dimitris Vasiliadis29-Mar-04 23:29 
GeneralHelp: catch/handle window messages in COM dll Pin
usouthal29-Mar-04 13:19
usouthal29-Mar-04 13:19 
GeneralBSTR release Pin
El'Cachubrey28-Mar-04 21:14
El'Cachubrey28-Mar-04 21:14 
GeneralRe: BSTR release Pin
Rory Solley28-Mar-04 22:18
Rory Solley28-Mar-04 22:18 
The object that creates the string should be responsible for freeing it again. In your case, whoever calls SomeFun() will create the string (say by SysAllocString) and will also be responsible for calling SysFreeString on the object they created as a parameter, once the call returns:

BSTR bstrNewString = ::SysAllocString(L"Test");
pIMyObjectPtr->SomeFun(bstrNewString);
::SysFreeString(bstrNewString);

GeneralRe: BSTR release Pin
El'Cachubrey29-Mar-04 0:27
El'Cachubrey29-Mar-04 0:27 
GeneralRe: BSTR release Pin
Jörgen Sigvardsson29-Mar-04 3:38
Jörgen Sigvardsson29-Mar-04 3:38 
GeneralRe: BSTR release Pin
El'Cachubrey30-Mar-04 0:38
El'Cachubrey30-Mar-04 0:38 
GeneralRe: BSTR release Pin
Anonymous15-Apr-04 2:36
Anonymous15-Apr-04 2:36 
GeneralTapi3 COM Pin
babur_rizwan28-Mar-04 12:56
babur_rizwan28-Mar-04 12:56 
GeneralOutlook Express add-in Pin
dorutzu28-Mar-04 9:17
dorutzu28-Mar-04 9:17 
GeneralRe: Outlook Express add-in Pin
Stephane Rodriguez.28-Mar-04 9:51
Stephane Rodriguez.28-Mar-04 9:51 
GeneralRe: Outlook Express add-in Pin
dorutzu28-Mar-04 10:04
dorutzu28-Mar-04 10:04 
GeneralRe: Outlook Express add-in Pin
FearlessBurner30-Mar-04 1:41
FearlessBurner30-Mar-04 1:41 
GeneralRe: Outlook Express add-in Pin
dorutzu30-Mar-04 1:51
dorutzu30-Mar-04 1:51 
GeneralCOM Object VS Interface Pin
alex.barylski26-Mar-04 10:47
alex.barylski26-Mar-04 10:47 
GeneralRe: COM Object VS Interface Pin
Rory Solley28-Mar-04 20:09
Rory Solley28-Mar-04 20:09 
GeneralRe: COM Object VS Interface Pin
Jörgen Sigvardsson29-Mar-04 4:06
Jörgen Sigvardsson29-Mar-04 4:06 
GeneralIntriguing,help me out plz. Pin
Naga the bug fixer26-Mar-04 6:20
Naga the bug fixer26-Mar-04 6:20 
GeneralRe: Intriguing,help me out plz. Pin
Milton Karimbekallil28-Mar-04 23:13
Milton Karimbekallil28-Mar-04 23:13 
GeneralActiveX newbie looking for a starting point... Pin
cjlambre25-Mar-04 3:37
cjlambre25-Mar-04 3:37 
GeneralRe: ActiveX newbie looking for a starting point... Pin
ian mariano25-Mar-04 10:12
ian mariano25-Mar-04 10:12 

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.