Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!UUNET.UU.NET!uniol!wallaschek From: uniol!wallaschek@UUNET.UU.NET (Adrian Wallaschek) Newsgroups: comp.lang.modula2 Subject: Re: M2 & Windows Message-ID: Date: 21 Jan 90 21:17:00 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 30 In comp.lang.modula2 you write: > Has anyone out there successfully interfaced Logitech Modula-2 with > Windows? I have been playing around with the Windows libraries and > some neat stuff can be done. Unfortunately, right now, what I have > only works when programming in C. MS-C has a option named -Gw or something like that (look up your manual!). This option encapsules every function in a windows-specific prolog and epilog. > I have managed to get the Modula-2 programs compiled and then linked > using link4, but Windows complains that they are too big to run. > Is there a Window guru who could point out what I am doing wrong? I'm afraid your Modula-compiler doesn't know about a MS-specific prolog/ epilog, so your compiler is not able to generate windows-programs at all. (I posted yesterday for a research for a compiler that support windows. We'll see what I'll get.) I hope it hit you not too hard, but I'm afraid there's no way! (Perhaps a real guru will find a hack, but I don't beleive, because the prolog/epilog-structure must be embedded deep in the code-generator of the compiler and I haven't ever seen the source of a Modula-Compiler.) Yours, prefect (A.Wallaschek, wallaschek@uniol.UUCP)