🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3090

Re: Modula2 -> Windows ?

#3090
From: Bengt-Inge Dalenback
Date: Tue, 05 Dec 1995 08:17
57 lines
2909 bytes
In article <49vfjm$99f@infoserv.rug.ac.be> Frank Schoonjans,
Frank.Schoonjans@rug.ac.be writes:
>I am currently developing programs in TopSpeed Modula2 version 1.17, and 
>want to start developing programs for Windows.  
>What package should I use in order to be able to convert my libraries as 
>much and as easily as possible?  

Version 3.10

You also need

   Borland Resource Workshop,

   a full set of SDK docs (I have mainly used the Borland 3-book docs), 

   Petzold's book on Windows 3.1 programming (read it, read it, and read
it     again, and then *read* it again),

   C header-files for 3.1 since 3.1 extensions are supported but no .DEF
   files for it is provided so you have to make your own for what you need
   (typically COMMDLG.DEF for common dialogs - FileOpen etc.),

   use large model,

   if you use floating point use stack calling model not jpi,

   switch on stack check or the STACKSIZE in the EXP-file won't take
effect     (guess how long it took me to find that one out...),

   write your own segement sub-allocator or get Stein Ryan's by FTP (I
don't     have the ftp address, but maybe he is watching this or someone
else have
   it). Stein also has written an object-oriented shell for the API also
   available for FTP (I have done straight API calls).

   follow the windows programming news-groups

   (some of the above may not make much sense if you now use only 1.17)

It won't be dead simple and there are few to ask specific Modula-2
questions that relates to Windows programming. You need to be able to
read (but not write...) basic C since everything is C-oriented.

Personally I don't regret for a second having done the conversion. I only
wish I had started earlier. I now have a large program that works
perfectly well and that currently is in beta test. And if the unthinkable
should happen and I would need to convert to another language, it will be
easier to convert an all-Windows program since I then don't use any
special libraries that also need to be converted.

--------------------------------
Bengt-Inge Dalenback, CATT
also at:
   Department of Applied Acoustics
   Chalmers University of Technology
   Gothenburg, SWEDEN
e-mail: bid@ta.chalmers.se, catt@netg.se
Technical Details
Message-ID: <4a0v6l$6ab@nyheter.chalmers.se>
Path: arc1-ca.pugleaf.net!g0-mac7.ta.chalmers.se!bid
References: <49vfjm$99f@infoserv.rug.ac.be>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!g0-mac7.ta.chalmers.se!bid
From: Bengt-Inge Dalenback <bid@ta.chalmers.se>
Newsgroups: comp.lang.modula2
Subject: Re: Modula2 -> Windows ?
Date: 5 Dec 1995 08:17:25 GMT
Organization: CATT & Dep. of Applied Acoustics, Chalmers
Distribution: world
Message-ID: <4a0v6l$6ab@nyheter.chalmers.se>
References: <49vfjm$99f@infoserv.rug.ac.be>
NNTP-Posting-Host: g0-mac7.ta.chalmers.se
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Nuntius 2.0.1_68K
X-XXMessage-ID: <ACE9BECE7A01B84A@g0-mac7.ta.chalmers.se>
X-XXDate: Tue, 5 Dec 1995 08:18:06 GMT