Announcement

Collapse

Forum Rules and Etiquette

Our mission ...

This forum is part of our mission to promote the preservation of vintage computers through education and outreach. (In real life we also run events and have a museum.) We encourage you to join us, participate, share your knowledge, and enjoy.

This forum has been around in this format for over 15 years. These rules and guidelines help us maintain a healthy and active community, and we moderate the forum to keep things on track. Please familiarize yourself with these rules and guidelines.


Rule 1: Remain civil and respectful

There are several hundred people who actively participate here. People come from all different backgrounds and will have different ways of seeing things. You will not agree with everything you read here. Back-and-forth discussions are fine but do not cross the line into rude or disrespectful behavior.

Conduct yourself as you would at any other place where people come together in person to discuss their hobby. If you wouldn't say something to somebody in person, then you probably should not be writing it here.

This should be obvious but, just in case: profanity, threats, slurs against any group (sexual, racial, gender, etc.) will not be tolerated.


Rule 2: Stay close to the original topic being discussed
  • If you are starting a new thread choose a reasonable sub-forum to start your thread. (If you choose incorrectly don't worry, we can fix that.)
  • If you are responding to a thread, stay on topic - the original poster was trying to achieve something. You can always start a new thread instead of potentially "hijacking" an existing thread.



Rule 3: Contribute something meaningful

To put things in engineering terms, we value a high signal to noise ratio. Coming here should not be a waste of time.
  • This is not a chat room. If you are taking less than 30 seconds to make a post then you are probably doing something wrong. A post should be on topic, clear, and contribute something meaningful to the discussion. If people read your posts and feel that their time as been wasted, they will stop reading your posts. Worse yet, they will stop visiting and we'll lose their experience and contributions.
  • Do not bump threads.
  • Do not "necro-post" unless you are following up to a specific person on a specific thread. And even then, that person may have moved on. Just start a new thread for your related topic.
  • Use the Private Message system for posts that are targeted at a specific person.


Rule 4: "PM Sent!" messages (or, how to use the Private Message system)

This forum has a private message feature that we want people to use for messages that are not of general interest to other members.

In short, if you are going to reply to a thread and that reply is targeted to a specific individual and not of interest to anybody else (either now or in the future) then send a private message instead.

Here are some obvious examples of when you should not reply to a thread and use the PM system instead:
  • "PM Sent!": Do not tell the rest of us that you sent a PM ... the forum software will tell the other person that they have a PM waiting.
  • "How much is shipping to ....": This is a very specific and directed question that is not of interest to anybody else.


Why do we have this policy? Sending a "PM Sent!" type message basically wastes everybody else's time by making them having to scroll past a post in a thread that looks to be updated, when the update is not meaningful. And the person you are sending the PM to will be notified by the forum software that they have a message waiting for them. Look up at the top near the right edge where it says 'Notifications' ... if you have a PM waiting, it will tell you there.

Rule 5: Copyright and other legal issues

We are here to discuss vintage computing, so discussing software, books, and other intellectual property that is on-topic is fine. We don't want people using these forums to discuss or enable copyright violations or other things that are against the law; whether you agree with the law or not is irrelevant. Do not use our resources for something that is legally or morally questionable.

Our discussions here generally fall under "fair use." Telling people how to pirate a software title is an example of something that is not allowable here.


Reporting problematic posts

If you see spam, a wildly off-topic post, or something abusive or illegal please report the thread by clicking on the "Report Post" icon. (It looks like an exclamation point in a triangle and it is available under every post.) This send a notification to all of the moderators, so somebody will see it and deal with it.

If you are unsure you may consider sending a private message to a moderator instead.


New user moderation

New users are directly moderated so that we can weed spammers out early. This means that for your first 10 posts you will have some delay before they are seen. We understand this can be disruptive to the flow of conversation and we try to keep up with our new user moderation duties to avoid undue inconvenience. Please do not make duplicate posts, extra posts to bump your post count, or ask the moderators to expedite this process; 10 moderated posts will go by quickly.

New users also have a smaller personal message inbox limit and are rate limited when sending PMs to other users.


Other suggestions
  • Use Google, books, or other definitive sources. There is a lot of information out there.
  • Don't make people guess at what you are trying to say; we are not mind readers. Be clear and concise.
  • Spelling and grammar are not rated, but they do make a post easier to read.
See more
See less

Early Windows Programming

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Early Windows Programming

    If I wanted to write a program for Windows 1.0, 2.0, or 3.0, are there any development resources which could help me do it beyond disassembling an existing program?
    Last edited by Exceter; June 16, 2021, 08:00 PM.
    Once upon a time, the internet sucked because it came through the phone. Now the phone sucks because it comes through the internet.

    #2
    Just of hand, there is the Windows 1.0 SDK (and a DDK, although I don't know if that is archived anywhere).

    Windows 1 programming is basically the same as Windows 2, so much Windows 2 stuff is applicable to Windows 1. There is a Microsoft Programmers Library CD with 2.x information.

    There should actually be lots of Windows 3.0 programming stuff floating around as it was the first really popular version.

    Comment


      #3
      1.x and 2.x is out there, but i only started with 3.x.

      there's plenty of books on it, eg http://www.bitsavers.org/pdf/borland...ume_3_1992.pdf

      and the SDK is available: https://winworldpc.com/product/windo...ddk/windows-31

      Comment


        #4
        Programming Windows, 1st edition (Microsoft Press, 1988; 852 pages) - Charles Petzold

        Comment


          #5
          128956CA-4445-4333-BFFF-23E22E0DFB5E.jpeg I’ve got a Microsoft network DDK with dates from 1990, but I think it might be for OS/2 because it says IBM on it in a few places too. I haven’t had a chance to archive it yet.

          Comment


            #6
            You will find scanned docs here:

            https://www.os2museum.com/wp/windows-history/windows-library

            Comment


              #7
              If you want a simple high level language, the first versions of Visual Basic will generate executables that will run on Windows 3.0, but the early versions are quite limited. If Windows 3.1 app support would do then you can go as far forward as VB4 which by that point is a pretty mature and powerful language.

              For Windows 1/2 possibly the first version of Asymetrix Toolbook could be used? I don't know and I've never used it but it was first released in 1990 at about the same time as Windows 3.0, it would seem a bit limiting if it only supported what was then a brand new version of Windows that had yet to be up an installed base.

              Comment


                #8
                Originally posted by cwathen View Post
                For Windows 1/2 possibly the first version of Asymetrix Toolbook could be used? I don't know and I've never used it but it was first released in 1990 at about the same time as Windows 3.0, it would seem a bit limiting if it only supported what was then a brand new version of Windows that had yet to be up an installed base.
                Toolbook 1.0 is a Windows 3.0 application. I don't know precisely why (aggressive beta program? It was easy to convert? 2.x just sucked that bad?) But the day Windows 3.0 was released, almost all new Windows applications indeed specifically required 3.0.

                Comment


                  #9
                  Windows 2.0 interests me more than 3.0 because it works on an IBM 5150. I'd be fine with assembly language provided I have a good debugger.
                  Once upon a time, the internet sucked because it came through the phone. Now the phone sucks because it comes through the internet.

                  Comment


                    #10
                    Win 3.0 would work with a PC, as long as it met the requirements

                    https://microsoft.fandom.com/wiki/Windows_3.0

                    But agreed, 1.x/2.x would be less demanding.

                    Comment


                      #11
                      Originally posted by T-R-A View Post
                      Win 3.0 would work with a PC, as long as it met the requirements

                      https://microsoft.fandom.com/wiki/Windows_3.0

                      But agreed, 1.x/2.x would be less demanding.
                      Now I realize my mistake... I assumed that 3.0 was 286 or higher because 3.1 was 286 or higher. Even so, I think I'd prefer to stick with 2.0 for efficiency(and I already have it installed and working), as you pointed out.
                      Once upon a time, the internet sucked because it came through the phone. Now the phone sucks because it comes through the internet.

                      Comment


                        #12
                        Well, to be honest....any "minimum requirements" coming from M$ are pretty much a joke.

                        I ran a PC/XT (640K Ram + 2MB LIM) with Win 3.0 and Geoworks 1.x/2.x blew the doors off it for speed and usability. Now that was a real GUI.
                        ​​​

                        Comment


                          #13
                          I'm pretty happy with Windows 2.03. It seems to work really well on my 5150 with 640k ram. But, at present, the only thing I use it for is Reversi so I started wondering if I could make programs for it.
                          Once upon a time, the internet sucked because it came through the phone. Now the phone sucks because it comes through the internet.

                          Comment


                            #14
                            Out of interest - what sort of software were you planning on developing?

                            Originally posted by Exceter View Post
                            Now I realize my mistake... I assumed that 3.0 was 286 or higher because 3.1 was 286 or higher. Even so, I think I'd prefer to stick with 2.0 for efficiency(and I already have it installed and working), as you pointed out.
                            TBH, unless you just want to see it working there's no point running Windows 3.0 on a 5150. It is several times larger than Windows 2.x, you will have little free memory available, it will run very slowly and the only apps you'll get to run are the supplied ones and those designed for real mode (which usually will run on Windows 2.x anyway). Also if you only have CGA graphics although Windows 3 officially supports this it seems particularly unoptimised for it and the experience is far worse than running Windows 1/2 in CGA mode. EGA is the practical minimum and a lot of software will assume VGA as this very quickly became the norm. Anything that actually could take advantage of Windows 3 can't really do it on a 5150.

                            Now my 5150 has EGA graphics fitted I have had Windows 3.0 running in 640x350x16 and installed things like CorelDraw 2 on it...yes it loads and it's impressive just to see it running on a 5150 but it's not practical to use on such hardware.

                            Comment


                              #15
                              I have Hercules graphics on my 5150. Windows 2.03 looks and performs respectably.
                              https://ibb.co/7Kq9tZn
                              Once upon a time, the internet sucked because it came through the phone. Now the phone sucks because it comes through the internet.

                              Comment

                              Working...
                              X