Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!mms00786 From: mms00786@uxa.cso.uiuc.edu Newsgroups: comp.windows.ms Subject: Re: Metafile woes. Message-ID: <118500020@uxa.cso.uiuc.edu> Date: 10 Jun 90 14:08:00 GMT Lines: 26 Nf-ID: #N:uxa.cso.uiuc.edu:118500020:000:660 Nf-From: uxa.cso.uiuc.edu!mms00786 Jun 10 09:08:00 1990 Thanks for everyone who replied to my queries on metafiles. FYI, Corel 1.2 with Win 3.0 will be able to cut and copy metafiles larger than 64k. Also, the .wmf files produced by Corel have a 22 byte header, which must be stripped before playing. I would still like some info on: a) the format of the 22byte header. b) why the following works only the first time it is called: hResource = LoadResource(... LockResource (hResource); hMF = SetMetaFileBits (hResource); GlobalUnlock (hResource); PlayMetaFile (hMF); DeleteMetaFile (hMF); The first time, it works. After that, SetMetaFileBits returns 0. Why? Thanks! Milan .