Click here to Skip to main content
15,901,122 members
Home / Discussions / COM
   

COM

 
AnswerRe: installation and DLL? Pin
Jagadeesh VN16-Sep-03 22:43
Jagadeesh VN16-Sep-03 22:43 
GeneralIOleCommandTarget Impleimentation Pin
suri babu12-Sep-03 5:16
suri babu12-Sep-03 5:16 
GeneralIs this safe? (map) Pin
Jeremy Pullicino11-Sep-03 3:45
Jeremy Pullicino11-Sep-03 3:45 
GeneralUsing ActiveX Pin
daphna10-Sep-03 4:21
daphna10-Sep-03 4:21 
GeneralRe: Using ActiveX Pin
Jagadeesh VN10-Sep-03 9:44
Jagadeesh VN10-Sep-03 9:44 
Question_bstr_t::copy and memory leak? Pin
Maverick9-Sep-03 22:56
Maverick9-Sep-03 22:56 
AnswerRe: _bstr_t::copy and memory leak? Pin
Jagadeesh VN9-Sep-03 23:27
Jagadeesh VN9-Sep-03 23:27 
GeneralRe: _bstr_t::copy and memory leak? Pin
Steve S11-Sep-03 1:58
Steve S11-Sep-03 1:58 
Nope, guess again. VB is calling this code, and it will manage the returned BSTR, disposing of it as appropriate. If it was VC++, then the caller would manage the returned string. VB, as caller, is doing that, and the fragment is fine.

You need to return a copy of the string because the ORIGINAL still belongs to the interface implementation (or object).


Steve S
GeneralRe: _bstr_t::copy and memory leak? Pin
Maverick11-Sep-03 22:06
Maverick11-Sep-03 22:06 
GeneralRe: _bstr_t::copy and memory leak? Pin
doisy18-Sep-03 3:01
doisy18-Sep-03 3:01 
Generalasp to asp.net with com problem Pin
mark2229-Sep-03 22:44
mark2229-Sep-03 22:44 
GeneralForward declaration of interfaces Pin
Rowan Seymour9-Sep-03 2:30
Rowan Seymour9-Sep-03 2:30 
GeneralRe: Forward declaration of interfaces Pin
valikac9-Sep-03 5:53
valikac9-Sep-03 5:53 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour10-Sep-03 6:11
Rowan Seymour10-Sep-03 6:11 
GeneralRe: Forward declaration of interfaces Pin
Brian Shifrin11-Sep-03 1:35
Brian Shifrin11-Sep-03 1:35 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour11-Sep-03 3:34
Rowan Seymour11-Sep-03 3:34 
GeneralRe: Forward declaration of interfaces Pin
arun140529-Oct-03 2:18
arun140529-Oct-03 2:18 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour29-Oct-03 2:58
Rowan Seymour29-Oct-03 2:58 
GeneralIE Automation Pin
nikhilkhedkar8-Sep-03 21:08
nikhilkhedkar8-Sep-03 21:08 
GeneralRe: IE Automation Pin
nikhilkhedkar9-Sep-03 2:18
nikhilkhedkar9-Sep-03 2:18 
GeneralStack messed up upon function returned Pin
DionChen8-Sep-03 8:04
DionChen8-Sep-03 8:04 
QuestionHow to pass VBA Collection to COM DLL from .NET C#? Pin
ajkumar4-Sep-03 15:21
ajkumar4-Sep-03 15:21 
Generalpassing a pointer into C++ from VB Pin
rajdawg3-Sep-03 16:31
rajdawg3-Sep-03 16:31 
GeneralRe: passing a pointer into C++ from VB Pin
Lim Bio Liong18-Sep-03 7:51
Lim Bio Liong18-Sep-03 7:51 
GeneralThreading issue Pin
kkfromus2-Sep-03 11:16
kkfromus2-Sep-03 11:16 

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.