Article View: borland.public.cppbuilder.nativeapi
Article #7921Re: ChangeDisplaySettingsEx driving me nuts...
From: Remy Lebeau (TeamB)
Date: Wed, 15 Dec 2004 18:12
Date: Wed, 15 Dec 2004 18:12
20 lines
1581 bytes
1581 bytes
"Graham Thompson" <gct@faGUESS-WHAT-TO-DO-WITH-THISsl.co.uk> wrote in message news:41c00d82@newsgroups.borland.com... > when I go to call ChangeDisplaySettingsEx I get an access violation. Please show your actual code. An AV is caused by accessing invalid memory. > Is ChangeDisplaySettingsEx part of GDI+? No. > BTW (or should that be WTF): if I declare a spare DEVMODE struct > in the function that calls ChangeDisplaySettingsEx, I don't get an access > violation; the function succeeds but sets 'inappropriate' values. Again, please show your actual code. Gambit
Technical Details
Message-ID:
<41c07e5c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41c00d82@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4bfd89b1b8a413a2 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <41c00d82@newsgroups.borland.com> Subject: Re: ChangeDisplaySettingsEx driving me nuts... Date: Wed, 15 Dec 2004 10:12:12 -0800 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <41c07e5c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103134300 68.69.17.41 (15 Dec 2004 10:11:40 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail