Path: 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: 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 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?