-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support even older Windows versions #58
Comments
Actually I just needed to define NO_ASMTHUNK and the exe works on Win3.1+Win32s 1.1 |
Seems useless to support Win32s beta because it does not support codepages and WideCharToMultiByte/MultiByteToWideCharare stubs. |
Probably GetCharWidthW and TextOutW are also not supported on old Chicago builds. |
For me it was enough to set |
since I'm testing win32s builds not NT31 ANSI builds so this is not a problem here. |
Quite some progress indeed, congratulations! |
How do you get status bar on NT build 340? |
Actually copying comctl32.dll from build 404 did the trick for me! |
For me on NT3.10.340, I can barely use the open dialog. After a fresh restart it displays fine, but then
|
because notepad doesn't use common dialog templates and hooks. |
So I guess we have to drop the hook and resolve to the simple open dialog. |
it has no problem on open dialog (I can't test via hotkeys, but via menu is no problem here) |
You are right, I just had problems because I was using "MS Shell Dlg" font, with "Helv" I get no problems. |
Amazing, I will give it a try. |
According to the doc, we should return TRUE for the DOC: for OFNHookProcOldStyle
For the new style dialog it is also safer to return nonzero value from WM_INITDIALOG:
So I guess this return TRUE should always apply. |
remaining systems:
for later two, WC2MB and MB2WC need wrappers. 1.00.61 CreateFileMappingA shows: so it only supports CreateFileMapping() from a "-1" handle which is not our case. |
I did not test GreenPad under OS/2 warp. It should be possible via two ways: The odds are high everything works fine already but I will ll need to test this when I get a working OS/2 environment. |
From quick testing it seems that Win32s build of GreenPad works fine on WIN-OS2+Win32s1.25a (with comctl32.dll from beta) under OS/2 Warp 4.51. |
my old odin install is still working. |
Wow, that's so beautiful! |
Interesting to report that since it does not support proper Unicode... |
I took a glance at ReactOS source and It seems the DC is released on ReleaseDC()/EndPaint() even when the CS_OWNDC style is specified, |
but ros winetest doesn't show that: |
Well at least if I replace BeginPaint/EndPaint with GetUpdateRegion/ValidateRect in the old greenpad, I no longer have huge problems, and the Window content can still get repainted even after minimizing/restoring a lot the window. There are still drawing problems though, but none that can't be resolved by a window resize. |
ah, I just forget to pass TARGET_VER to RC, fixed my side. :) |
Forget it, it is because of big font, If I set font size back to 8 then everything is fine. |
That is beautiful indeed! |
BTW I tried to dedup and correct some open/save dialog codes and logics: |
I will import your changes. |
didn't notice this, maybe palefill and/or MC's WebComponents/ShadowRoot implementations are not good enough for github. |
I will try to find a reproducible way to trigger it with a clean profile on NM28, and I will report on the MSFN thread. Excuse me for this off-topic tangent. |
Wow that is cool, MLang is not really needed when you got chardet.dll. |
I added a way to detect Win9x KernelEx in my tree: related commit: roytam1/rtoss@0066039 |
nice trick, indeed on Win9x the system directory is does not end with 32, |
thats why you need to call |
BTW tried on NT 3.1 Build 311, and it doesn't start. |
For now GreenPad works fine on:
Windows NT3.1 build 404 (oldest build I tested)
Win3.1 + Win32s 1.15a
I tested Windows 3.1 + Win32s 1.1 (build 88) and the System freezes without other errors when I try to start GreenPad,
If I delete the .ini file it gets created again, so the lockup does not happen immediately.
The text was updated successfully, but these errors were encountered: