|
-
October 19th, 2010, 05:43 PM
#1
Declaring an object using the "new" keyword
The following line of code won't compile (I copied it from MSDN)
myMetafile = new Metafile(L"MyDiskFile.emf", hdc);
I get this error:
error C2065 'myMetafile' : undeclared identifier
I've never declared anything with new before, so I don't have any ideas as to how to fix this.
Any ideas?
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
|