Mail Archives: djgpp/1997/11/17/21:45:48
From: | eggbrains AT aol DOT com (Egg brains)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | calling foo(void (*func)(__dpmi_regs *))....
|
Date: | 18 Nov 1997 00:49:08 GMT
|
Lines: | 16
|
Message-ID: | <19971118004901.TAA11968@ladder01.news.aol.com>
|
NNTP-Posting-Host: | ladder01.news.aol.com
|
Organization: | AOL http://www.aol.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Okay, i got this code out of a mouse vector (or whatever you call that 0x33
thing) example in DJGPP's faq. I copied in the code, looked up all the
functions (i like to know what i'm doing), and tried calling it like:
foo(theVector());
then
foo((__dpmi_regs *)theVector());
and a whole bunch of other ways i thought might work. They didn't :(
Thanks in advance
Paul
"DJGGP is cool, but it is _only_ a tool.
Nothing more, Nothing less. It's strength
comes from _how_ you use it."
--Paul Stickney (Me)
- Raw text -