|
-
May 5th, 1999, 02:28 AM
#1
[RESOLVED] HGLOBAL
I have the following:
char *mybuf;
unsigned short numbytes;
numbytes=adBmpSizeFromFile(filename);
if (numbytes) {
mybuf=malloc(numbytes);
adExtractBmpFileToBuffer(filename ,mybuf,&numbytes);
}
How can I convert this buffer into a HGLOBAL?
I need to to this because the existing code requires a HGLOBAL to be passed and not a char *.
Thanks for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|