X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Lines: 19 X-Admin: news AT aol DOT com From: jbs30000 AT aol DOT com (JBS30000) Newsgroups: comp.os.msdos.djgpp Date: 26 Sep 2004 14:17:05 GMT References: <41568173$0$174$cc7c7865 AT news DOT luth DOT se> Organization: AOL http://www.aol.com Subject: Re: Strange VESA problem Message-ID: <20040926101705.22356.00001095@mb-m16.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >You shouldn't have that "&" there before OEM_String. (I think it >works, but it's logically wrong.) Oh, I thought it was fine because, for example, there's one in the help file example ---------------------------------------------------------- unsigned short shift_state; dosmemget(0x417, 2, &shift_state); if (shift_state & 0x0004) /* Ctrl key pressed */; ---------------------------------------------------------- but I'll give it a try..... OK, program still works, thanks. After logging off I'll reboot to DOS and see if that changes anything. >Another thing to check is if your call to get "vesainfo" filled in >succeeded or not. Yes, vesainfo gets filled in which is why I found the strings not working part so strange. Anyway though, thanks for your help.