Group: comp.os.mswindows.programmer.win32 · Group Profile · Search for Blackbiscuits in comp.os.mswindows.programmer.win32
Author: blackbiscuit
Date: Sep 7, 2008 18:21
"blackbiscuit" <infozyzhang@gmail.com> wrote in message news:75477e8f-5aca-42d3-bde0-e7e0fe945b07@v13g2000pro.googlegroups.com... Why do you say that you never relase it, as you call "GlobalFree (hData);" ? Because GetGlobalData itself allocate a new memory, hData, and copy all content from the OLE clipboard into it. The GlobalFree( hData ) is just used to release that new
|