Click here to Skip to main content
15,925,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralClosest Pair problem Pin
cutama15-Nov-02 12:58
cutama15-Nov-02 12:58 
GeneralRe: Closest Pair problem Pin
ian mariano15-Nov-02 19:50
ian mariano15-Nov-02 19:50 
GeneralSysFreeAlloc and COM Pin
devvvy15-Nov-02 12:11
devvvy15-Nov-02 12:11 
GeneralRe: SysFreeAlloc and COM Pin
Paul M Watt15-Nov-02 12:18
mentorPaul M Watt15-Nov-02 12:18 
GeneralRe: SysFreeAlloc and COM Pin
devvvy15-Nov-02 12:24
devvvy15-Nov-02 12:24 
GeneralRe: SysFreeAlloc and COM Pin
Paul M Watt15-Nov-02 12:31
mentorPaul M Watt15-Nov-02 12:31 
GeneralRe: SysFreeAlloc and COM Pin
Michael Dunn15-Nov-02 16:16
sitebuilderMichael Dunn15-Nov-02 16:16 
GeneralRe: SysFreeAlloc and COM Pin
devvvy15-Nov-02 16:53
devvvy15-Nov-02 16:53 
please bear with me:

"you should call SysFreeString(*bstrSQL) first"

what do u mean deallocating the memory PRIOR to the function call? but how can u do this since u're basically passing the address of the string back to client. If you free the memory before passing it to client, isnt that equivalent to passing a NULL pointer to client?

One more question: How can u SysFreeAlloc in an ASP application?

Thanks!

norm
GeneralRe: SysFreeAlloc and COM Pin
Michael Dunn15-Nov-02 21:03
sitebuilderMichael Dunn15-Nov-02 21:03 
GeneralSerializing question Pin
Shay Harel15-Nov-02 10:25
Shay Harel15-Nov-02 10:25 
GeneralRe: Serializing question Pin
Christian Graus15-Nov-02 10:33
protectorChristian Graus15-Nov-02 10:33 
GeneralRe: Serializing question Pin
Shay Harel15-Nov-02 10:37
Shay Harel15-Nov-02 10:37 
GeneralRe: Serializing question Pin
Christian Graus15-Nov-02 10:44
protectorChristian Graus15-Nov-02 10:44 
GeneralRe: Serializing question Pin
Ravi Bhavnani15-Nov-02 10:57
professionalRavi Bhavnani15-Nov-02 10:57 
GeneralRe: Serializing question Pin
Shay Harel15-Nov-02 11:04
Shay Harel15-Nov-02 11:04 
GeneralRe: Serializing question Pin
ian mariano16-Nov-02 8:55
ian mariano16-Nov-02 8:55 
GeneralDialog Control via a Subdialog Pin
Ayush15-Nov-02 10:11
Ayush15-Nov-02 10:11 
GeneralRe: Dialog Control via a Subdialog Pin
Christian Graus15-Nov-02 10:13
protectorChristian Graus15-Nov-02 10:13 
GeneralRe: Dialog Control via a Subdialog Pin
Ayush15-Nov-02 10:44
Ayush15-Nov-02 10:44 
GeneralRe: Dialog Control via a Subdialog Pin
Christian Graus15-Nov-02 10:53
protectorChristian Graus15-Nov-02 10:53 
GeneralGlobal Variables Pin
Ayush15-Nov-02 10:07
Ayush15-Nov-02 10:07 
GeneralRe: Global Variables Pin
Christian Graus15-Nov-02 10:12
protectorChristian Graus15-Nov-02 10:12 
GeneralRe: Global Variables Pin
Tim Smith15-Nov-02 10:35
Tim Smith15-Nov-02 10:35 
GeneralRe: Global Variables Pin
Chris Losinger15-Nov-02 10:39
professionalChris Losinger15-Nov-02 10:39 
GeneralRe: Global Variables Pin
Ravi Bhavnani15-Nov-02 10:58
professionalRavi Bhavnani15-Nov-02 10: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.