🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #594

Prolog-epilog, callback functions

#594
From: Paul G. Weiss
Date: Tue, 06 Nov 1990 22:12
12 lines
1101 bytes
I am porting a language product from OS/2 to Windows.  I have two
questions that I need to have answered by some knowledgeable person or
persons.

1.  Windows Prolog and Epilog.  Is this merely for real-mode support?  If
I know that my application is not going to run in real-mode can I dispense
with these?  Also, when is the -GW style of prolog-epilog appropriate?

2.  Callback functions.  The documentation states that all callback functions
must be exported.  This is confusing to me.  Since you pass the
instance-address of the function to Windows, why does it need to be
exported.  Again, is this something that is only necessary for real mode?
Technical Details
Message-ID: <WEISS.90Nov6171248@toucan.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!mintaka!weiss

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!mintaka!weiss
From: weiss@theory.lcs.mit.edu (Paul G. Weiss)
Newsgroups: comp.windows.ms.programmer
Subject: Prolog-epilog, callback functions
Message-ID: <WEISS.90Nov6171248@toucan.lcs.mit.edu>
Date: 6 Nov 90 22:12:48 GMT
Sender: daemon@mintaka.lcs.mit.edu (Lucifer Maleficius)
Distribution: comp
Organization: MIT Lab for Computer Science
Lines: 12