www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/04/03:47:54

From: Charles Krug <charles AT pentek DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Accessing DLL's from djgpp runtime?
Date: Mon, 03 Aug 1998 11:36:58 -0400
Lines: 38
Message-ID: <35C5D91A.1C6AD658@pentek.com>
NNTP-Posting-Host: mail.pentek.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello list!

Is this possible?

I would like to access a Bit3 PCI to VMEBus adapter, download some data
from memory from the VMEBus backplane, and plot this data.  This is
running under NT4.0 or Win95/98.

I intend to use Allegro to do a simple x-y plot with a spiffy grid in
contrasting colors.  The Allegro portion is pretty simple and plenty
fast enough.  This is time or frequency domain data from a DSP board.

The Bit3 can be accessed from Windows using a DLL or by linking in the
appropriate libraries.  Unfortunatly, the libraries are in VC format,
incompatible with djgpp.  The DLL would be the most straightforward
approach.  I'm not looking forward to reiventing the entire API merely
to use djgpp.  Nor do I relish the notion of trying to do a real-time
data display under Visual C.

Under DOS with the old ISA card, it was a simple matter of accessing the
memory map.  Using a 486DX-2, the display was plenty fast enough.  Under
NT, accessing hardward is a good deal more involved, so it seems.

Suggestions?

Thanx


Charles

--
Charles Krug, Jr.
Application Engineer
Pentek Corp
1 Park Way
Upper Saddle River, NJ 07458


- Raw text -


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