Click here to Skip to main content
15,891,513 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralProblem with remote server Pin
umarcool21-Sep-03 19:14
umarcool21-Sep-03 19:14 
GeneralRe: Problem with remote server Pin
Gary R. Wheeler22-Sep-03 14:15
Gary R. Wheeler22-Sep-03 14:15 
GeneralRe: Problem with remote server Pin
umarcool23-Sep-03 5:44
umarcool23-Sep-03 5:44 
GeneralATL COM Pin
Binayak18-Sep-03 13:07
Binayak18-Sep-03 13:07 
GeneralRe: ATL COM Pin
Braulio Dez22-Sep-03 5:15
Braulio Dez22-Sep-03 5:15 
QuestionHow do you catch Dialog Boxes from a Browser Help Object (BHO) Pin
RickGavin18-Sep-03 7:26
RickGavin18-Sep-03 7:26 
GeneralATL 7.0 COM Object Deployment Pin
Braulio Dez18-Sep-03 4:36
Braulio Dez18-Sep-03 4:36 
QuestionHow to release memory? when calling COM with param type BSTR* from VB exe application Pin
doisy18-Sep-03 2:30
doisy18-Sep-03 2:30 
An COM writed with ATL has a parameter which type is BSTRS.
such as
STDMETHODIMP CPNRTool::GetPNRInf(BSTR PNRNo, BSTR* PNRInf, LONG* Flag)

An application writed by VB call this COM such as

Dim sPNRNO As String
Dim sPNRNO As String
Dim lLog As Long

Dim DCSTool As DCSTool.CPNRTool
Set DCSTool = New DCSTool.CPNRTool
Call DCSTool.GetPNRInf(sPNRNO, sPNRInf, lLog)
Set DCSTool = Nothing

After finish call, I am doubt whether I need to release the memory of param"PNRInf" and "Flag"

and how to release?

Will this situation make memory leaks?

TIABlush | :O

Hello everyone
AnswerRe: How to release memory? when calling COM with param type BSTR* from VB exe application Pin
Braulio Dez18-Sep-03 4:41
Braulio Dez18-Sep-03 4:41 
AnswerRe: How to release memory? when calling COM with param type BSTR* from VB exe application Pin
Tom Welch18-Sep-03 5:15
Tom Welch18-Sep-03 5:15 
GeneralOffice::CommandBarControl problem Pin
dorutzu17-Sep-03 4:19
dorutzu17-Sep-03 4:19 
GeneralAn Outlook Addin issue Pin
dorutzu16-Sep-03 12:06
dorutzu16-Sep-03 12:06 
GeneralRe: An Outlook Addin issue Pin
Stuart Dootson16-Sep-03 14:53
professionalStuart Dootson16-Sep-03 14:53 
GeneralRe: An Outlook Addin issue Pin
dorutzu16-Sep-03 23:55
dorutzu16-Sep-03 23:55 
Generalatltypes.h Pin
rbottoms15-Sep-03 17:12
rbottoms15-Sep-03 17:12 
GeneralRe: atltypes.h Pin
Michael Dunn15-Sep-03 17:48
sitebuilderMichael Dunn15-Sep-03 17:48 
GeneralRe: atltypes.h Pin
rbottoms15-Sep-03 18:13
rbottoms15-Sep-03 18:13 
GeneralRe: atltypes.h Pin
Steve S15-Sep-03 21:45
Steve S15-Sep-03 21:45 
GeneralRe: atltypes.h Pin
rbottoms16-Sep-03 5:40
rbottoms16-Sep-03 5:40 
GeneralMS Command Button Pin
Bernhard15-Sep-03 2:15
Bernhard15-Sep-03 2:15 
GeneralRe: MS Command Button Pin
Ed Gadziemski15-Sep-03 11:35
professionalEd Gadziemski15-Sep-03 11:35 
GeneralRe: MS Command Button Pin
Bernhard15-Sep-03 20:17
Bernhard15-Sep-03 20:17 
GeneralIs this safe? (map) Pin
Jeremy Pullicino11-Sep-03 3:38
Jeremy Pullicino11-Sep-03 3:38 
GeneralRe: Is this safe? (map) Pin
Brad Sokol11-Sep-03 3:58
Brad Sokol11-Sep-03 3:58 
GeneralRe: Is this safe? (map) Pin
Andrew Walker11-Sep-03 19:12
Andrew Walker11-Sep-03 19: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.