Creating an application supporting Windows 98

Here you can talk about anything related to BBC BASIC, not covered in another category
Post Reply
Bad_Wolf
Posts: 11
Joined: Thu 05 Jul 2018, 06:00

Creating an application supporting Windows 98

Post by Bad_Wolf » Sun 25 Nov 2018, 21:16

Hello all,

Can you give me some advice please.

I need to create an application which has to support Windows 98 to Windows 10. BBC Basic for Windows has many API libraries for creating dialogs. But I assume they will be useless for Windows98.

I have the following questions :

1. How can I detect which version of Windows the application is installed on?

2. From which Windows version can I use those API libraries to create the user interface in a more modern way?

3. Which BBC mode do I use best for my application for those Windows versions which does not support the API libraris?

4. How can I programmatically determine the screen size and resolution?

Thank you very much in advance. I appreciate your help very much.

Wish you a very nice day.

Chris

guest
Posts: 268
Joined: Mon 02 Apr 2018, 09:12

Re: Creating an application supporting Windows 98

Post by guest » Sun 25 Nov 2018, 21:42

Bad_Wolf wrote:
Sun 25 Nov 2018, 21:16
But I assume they will be useless for Windows98.
What makes you think that? Obviously any dialog boxes and controls you create won't have a modern look-and-feel, and there may be a few style bits that are inactive, but the dialog box libraries supplied with BBC BASIC for Windows should work OK on Windows 98. If you can say precisely what functionality you are interested in I can easily test it here; only recently I published a screen shot of BB4W v6.12a running on Windows 95.

The answers to your other questions (if they are still relevant) can mostly be found in the Help documentation.

guest
Posts: 268
Joined: Mon 02 Apr 2018, 09:12

Re: Creating an application supporting Windows 98

Post by guest » Mon 26 Nov 2018, 18:06

Here's a screen shot of DLGDEMO.BBC running on Windows 95 (OSR2); you can be quite confident that it will also run in Windows 98:

dlgdemo95.png
dlgdemo95.png (57.16 KiB) Viewed 1929 times

Bad_Wolf
Posts: 11
Joined: Thu 05 Jul 2018, 06:00

Re: Creating an application supporting Windows 98

Post by Bad_Wolf » Mon 26 Nov 2018, 20:32

Thank you all for your replies and the usefull information you provided. I appreciate both replies very much.

The dialog provided has exactly the objects I need. For me, they must not be "modern", just functional.Its also great news that also Windows 95 can be supported. So I can support from Windows 95 up to Windows 10. Not much Rapid Application Development tools cover that range. Everything from one source file is another hugh advantage.

The application I am designing will support diabetic people with choosing their food and calculate how much load is there on the body. I want this application to be affordable in a range from the very poor to the wealthy people. That is why the legacy Windows is also important for me. Everybody who has a diabetic problem and like to use this application, should have access to it. Too much people in the third world are dying or suffering from diabetes. I realize many of them will not have a computer, but maybe they can access it from friends or family?

I already read the documentation but it seems there are some important gaps in my reading. I will take a close look again.

Your advice and time spent on my request is much appreciated.

Chris

Post Reply