Questions tagged [windows-3.1]

About Microsoft Windows 3.1

Windows 3.1x is a series of 16-bit operating systems produced by Microsoft for use on personal computers. The series began with Windows 3.1, which was first sold during March 1992 as a successor to Windows 3.0. Further editions were released between 1992 and 1994 until the series was superseded by Windows 95.

Windows 3.1 often ran on MS-DOS, but could also run on IBM OS/2

Source: http://en.wikipedia.org/wiki/Windows_3.1x

7 questions
8
votes
2 answers

For loop in Windows 3.1 DOS

i have wrote a batch script like below for -f %%a in ('dir /b') do command This script works in Windows XP but now I want to run it in Windows 3.11. It gives a syntax error; it seems like Windows 3.1's DOS not support `for -f %%a in…
issac
  • 81
  • 1
4
votes
1 answer

Why isn't INT 31H set up properly even with a DPMI host active?

I've been doing a lot of experimenting with assembly programming in MS-DOS. I've read that Windows 3.1 acts as a DPMI host for DOS programs, and that DPMI uses interrupt 31h for function calls. So let's give that a try. I open a DOS prompt in…
flarn2006
  • 1,787
  • 15
  • 37
4
votes
1 answer

In Windows 3.1 WinAPI How To Lock A File?

I was trying to run Visual Basic 4 (16-bit) in Windows 3.1 running within DosBox. However it failed to launch with error: SHARE.exe must be installed in order to run Visual Basic Some old MS-DOS applications just check for existence of the EXE and…
Malcolm McCaffery
  • 2,468
  • 1
  • 22
  • 43
2
votes
1 answer

How do I run a batch file with WinExec?

I'm using Windows 3.11, and in answer to a question about running batch files with certain attributes, someone suggested using WinExec. How do I do that? Is there something special to do because it's a batch file instead of a normal program?
Rob Kennedy
  • 161,384
  • 21
  • 275
  • 467
1
vote
1 answer

how to read from a file in batch?

how to read from a file in batch and set it as variable under MSDos 6.22 (windows 3.11) i have tried set /p var= < text.txt have also tried for /f %%a in (text.txt) do (command) both is work only in windows xp, can anybody suggest in windows 3.11?
issac
  • 125
  • 1
  • 1
  • 6
0
votes
0 answers

Windows 3.11 WH_MOUSE_LL equivalent?

I'm trying to develop a little helper tool to enable mouse integration for Windows 3.11 in VMWare Fusion since VMWare does not provide tools for this platform. I can already read the mouse position in my application using the WH_MOUSE hook using the…
Tobias Timpe
  • 720
  • 2
  • 13
  • 27
0
votes
1 answer

Is there a Windows 3.11 WPF style? If not, how can I draw some?

For some retro application I'm currently planning, I'd need some Windows 3.11 style for WPF. Has anyone done some yet? If this is not the case, how can I make one? I never tried that. I, especially, need a Win3.1-styled menu, toolbar, and button…
r4ndom n00b
  • 89
  • 2
  • 8