Damjan Jovanovic damjan.jov@gmail.com writes:
- hClipData = GlobalAlloc(GMEM_MOVEABLE | GMEM_DDESHARE, clipDataSize);
- if (hClipData)
- {
char *htmlFormat = GlobalLock(hClipData);snprintf(htmlFormat, clipDataSize, "%s%s%s%s", description, startFragment, textHtml, endFragment);TRACE("incoming \"HTML Format\" with these contents:\n%s\n", htmlFormat);GlobalUnlock(hClipData);- }
This should be GMEM_FIXED now. Please check how it's done in other functions.