¡@

Home 

c++ Programming Glossary: hglobal

embedded resource in c++

http://stackoverflow.com/questions/1074362/embedded-resource-in-c

FindResource hInstance MAKEINTRESOURCE resourceId type HGLOBAL hRes LoadResource hInstance hResInfo LPVOID memRes LockResource..

Embed Text File in a Resource in a native Windows Application

http://stackoverflow.com/questions/2933295/embed-text-file-in-a-resource-in-a-native-windows-application

handle MAKEINTRESOURCE name MAKEINTRESOURCE type HGLOBAL rcData LoadResource handle rc size SizeofResource handle rc..

reading an application's manifest file?

http://stackoverflow.com/questions/420852/reading-an-applications-manifest-file

lpType DWORD cbResource SizeofResource hModule hResInfo HGLOBAL hResData LoadResource hModule hResInfo const BYTE pResource..

C++ Logging and performance tuning library

http://stackoverflow.com/questions/4727006/c-logging-and-performance-tuning-library

s dump.append s OpenClipboard 0 EmptyClipboard HGLOBAL hg GlobalAlloc GMEM_MOVEABLE dump.length 1 if hg char buf..

In-Proc COM object sharing across another Process

http://stackoverflow.com/questions/5425770/in-proc-com-object-sharing-across-another-process

with NULL hglobal to create an IStream that's backed by a HGLOBAL that COM allocates as needed Use CoMarshalInterface to marshal.. stream which in turn writes it to the memory backed by the HGLOBAL Use GetHGlobalFromStream to get the HGLOBAL from the stream.. backed by the HGLOBAL Use GetHGlobalFromStream to get the HGLOBAL from the stream Use GlobalLock GlobalSize to lock the HGLOBAL..

Usage limitations during the DllMain Attach and Detach process

http://stackoverflow.com/questions/5834508/usage-limitations-during-the-dllmain-attach-and-detach-process

we should Avoid using new and delete operator and prefer HGLOBAL memory allocation Avoid dealing with thread terminations here...

How to load a custom binary resource in a VC++ static library as part of a dll?

http://stackoverflow.com/questions/9240188/how-to-load-a-custom-binary-resource-in-a-vc-static-library-as-part-of-a-dll

FindResource NULL MAKEINTRESOURCE IDR_RCDATA1 RT_RCDATA HGLOBAL myResourceData LoadResource NULL myResource void pMyBinaryData.. unsigned int myResourceSize SizeofResource NULL myResource HGLOBAL myResourceData LoadResource NULL myResource void pMyBinaryData..

embed DLL in MFC C++ EXE?

http://stackoverflow.com/questions/9808467/embed-dll-in-mfc-c-exe

hInstance MAKEINTRESOURCE resourceID _T œBINARY HGLOBAL hFileResource LoadResource hInstance hResource Open and map..