Path: utzoo!utgpu!watserv1!watmath!att!rutgers!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!kiwi!eric.mpr.ca!biron From: biron@eric.mpr.ca (Claude Biron) Newsgroups: comp.os.os2 Subject: OS/2 1/2 MetaFiles ?? Keywords: METAFILE Message-ID: <2201@kiwi.mpr.ca> Date: 4 Jun 90 22:34:24 GMT Sender: biron@eric.mpr.ca Reply-To: biron@eric.mpr.ca (Claude Biron) Distribution: na Organization: Microtel Pacific Research Ltd., Burnaby, B.C., Canada Lines: 7 Has anyone successfully created a metafile under 1.2 (or 1.1 for that matter)? I've been attempting to get the code fragment from Vol 1. OS/2 Programmer's Reference p. 555 to work. The call to DevOpenDC with dop.pszDriverName set to "DISPLAY" (per example) causes a seg violation! Using any other string name returns an invalid hdc (error). This stuff is hard enough to crack without having to deal with faulty examples! Thanks in advance ...