Subversion Repositories filter_foundry

Rev

Rev 415 | Rev 419 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
414 daniel-mar 1
 
415 daniel-mar 2
Windows NT 3.1 and 3.5x compatibility problems
3
----------------------------------------------
414 daniel-mar 4
 
5
Fixed problems:
6
---------------
7
 
8
- `GetEnvironmentStringsA` and `FreeEnvironmentStrings` not found in WinAPI.
9
 
10
	Fixed: The CLib of OpenWatcom 1.9 imports these two functions.
11
	OpenWatcom 2.0 (beta nov 1 2017) calls these functions dynamically and is therefore compatible with Windows NT 3.1.
12
 
13
- `CreateDIBSection` not found in WinAPI
14
 
15
	Fixed in SVN Revision 407 (removed because not required).
16
 
17
- `GetVersionEx` not found in WinAPI.
18
 
415 daniel-mar 19
	Fixed in SVN Revision 411 and 414 (calling dynamically now).
414 daniel-mar 20
 
21
- `RegisterClassExA` and `GetClassInfoExA` not found in WinAPI.
22
 
23
	Fixed in SVN Revision 412 (replaced by `RegisterClassA` and `GetClassInfoA`).
24
 
415 daniel-mar 25
- Plugins created by the custom implementation of `UpdateResourceA` (for Win9x and WinNT<4.0) could not be loaded on
26
  some versions of Windows, because the Optional PE Header `SizeOfImage` was calculated wrong.
27
 
28
	Fixed in SVN Revision 415.
29
 
416 daniel-mar 30
- The version info of a 64 bit plugin cannot be written using Windows NT 3.51, because the resources could not be loaded from the 64 bit image.
31
 
32
	Fixed in SVN Revision 416: The version info template is now inserted into the 32 bit image as `TPLT` resource.
33
	Therefore, the 64 bit image does not need to be read.
34
 
414 daniel-mar 35
Open problems:
36
--------------
37
 
38
- WinNT311: "msctls_trackbar32" is not supported by Windows NT 3.1. DialogBoxParamA crashes with the confusing error code "Invalid Cursor Handle".
39
	Note: msctls_trackbar32 seems to be defined in COMCTL32.DLL, but Win NT 3.1 has no REGSVR32.EXE, so there can't be any controls added??
40
	For now, we added an error message if the class can't be found (SVN Revision 413).
41
	Windows NT 3.51 has COMCTL32.DLL and works perfectly with the trackbars!
42
 
43
- WinNT311: `LoadImageA` not found in WinAPI of Windows NT 3.1 (this is the last unresolved import!) ... how should we draw it? Filter Factory uses DrawIcon on a BUTTON control (BS_OWNERDRAW | WS_CHILD | WS_CLIPSIBLINGS).
44
	Remove "Hand Question" cursor in order to use the "Static" class instead of the custom class "CautionIcon"?
45
	Windows NT 3.51 has `LoadImageA` and works.
46
	TODO: Make call dynamic, so that Windows NT 3.1 can show at least an error message instead of failing silently.
47
 
48
- If hand cursor is not existing in Windows, then use a handpointer located in the resources.
49
 
50
- WinNT311: Icons (+, - and exclamation sign) graphics are broken (probably need low colored icons?)
51
 
52
- Icons (+, - and exclamation sign) are drawn too big (Windows NT 3.1, and also Windows NT 3.51)
53
	They are STATIC with SS_ICON. It is probably automatically 32x32
54
 
55
- Windows NT 3.51 clicking the zoom icons does not work!
56
	The click event probably only works for Button classes?
415 daniel-mar 57
	=> Ok, changed to pushbutton with ownerdraw. Now works
414 daniel-mar 58
 
59
- Help button does not work
60
 
61
- WinNT311+351: Preview image is not drawn at dialog box opening. You need to enter something first.
62
 
415 daniel-mar 63
- Preview pane cannot be panned, because it seems that anything clickable needs to be a pushbutton in Win NT 3.51
64
	TODO: implement area as pushbutton?
414 daniel-mar 65
 
66
Questions:
67
----------
68
 
69
Which CPU architecture is required for OpenWatcom settings? Should we do very low settings 80386?