i'm trying understand hglobals, because found out thought wrong.
in app globalalloc() data (with gmem_share|gmem_movable) , place string "test" in it. now, can give application data?
i though (wrongfully!) hglobals valid in processes, wrong, because hglobal handle global data, , not pointer global data (that's said "ohhhh!").
so how can pass hglobal application?
notice: want pass "pointer" data, not data itself, in clipboard.
thanks lot! :-)
read documentation.  introduction of 32-bit processing, globalalloc() not allocate global memory anymore.
to share memory block process, allocate block globalalloc() , put on clipboard, have other process retreive it.  or can allocate block of shared memory using createfilemapping() , mapviewoffile() instead.
Comments
Post a Comment