delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/12/19:00:19

Message-ID: <3DF91FB8.DD154090@cyberoptics.com>
Date: Thu, 12 Dec 2002 17:46:00 -0600
From: Eric Rudd <rudd AT cyberoptics DOT com>
Organization: CyberOptics
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Porting DJGPP graphics app to Windows
Lines: 16
NNTP-Posting-Host: 65.214.97.102
X-Trace: 1039736773 reader1.ash.ops.us.uu.net 13777 65.214.97.102
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have an existing DJGPP app that displays images, plots, etc. by doing
direct writes to video memory.  The graphics in this app won't work
under NT or 2000, for well-known reasons.  I would like to get this
program to work under NT/2000 by redirecting the graphics writing to a
malloc'ed region (which I can do easily), then calling a Windows
function to copy the image to a window.  Thus, I'd have two windows
open; a text window just as before, and a graphics window.

Is this feasible to do?  I have looked at 3.6 of the FAQ, but am still
uncertain how to proceed.  I don't want a Windows-hosted compiler (the
DJGPP tools suit me just fine :-), nor do I need to create full-blown
Windows apps.

-Eric Rudd
rudd AT cyberoptics DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019