Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



jumper

KernelEx Auxiliary DLL Updates

Recommended Posts

jumper    58

KernelEx Auxiliary DLL Updates

--- Stock ---
Msimg32 (5 of 5?): 4.5.2
Pdh (71 of 71?): 4.5.2
Psapi (17/27 of 27?): 4.5.2/psapi3b.7z
Userenv (16 of 16?): 4.5.2
Uxtheme (48/95 of 95): 4.5.2/ uxtheme.7z
Wtsapi32 (20 of 20): 4.5.2

Update packages include DLL and complete source code. Edited by jumper

Share this post


Link to post
Share on other sites

loblo    23

Installed those and it seems allright so far. 

 

Success story: it's now possible to run Java 7 and Java 8 without having to resort to my hacks, great job!

Share this post


Link to post
Share on other sites
MiKl    1

All KernelEx/Kext depending apps seem to work fine with the files !! Very cool.

 

@ Loblo. Could you install Java 7 in the 'old' way via the msi in appdata\sun\java ??

Share this post


Link to post
Share on other sites
loblo    23

@ Loblo. Could you install Java 7 in the 'old' way via the msi in appdata\sun\java ??

 

Latest JRE's appear to use a WIX installer and I found no way to install/unpack them.  Latest JDKs can still be unpacked however, and possibly installed too (I have not tried that), and you can use the included JRE (not the bundled JRE installer which is WIX based too).

Share this post


Link to post
Share on other sites
DougB    5

Installed those and it seems allright so far. 

 

Same results here.  

Part of the problem of me giving feedback is that (being mainly an end user and just a rudimentary programmer) i'm not sure of what apps i should use to test each file.  

However, i did just test the most-recent stable Media Player Classic - Black Edition (v1.4.2) portable, and it got past the long-standing UXTheme crash!  Unfortunately, it hit another one... but that's still progress....  

- Doug B.

Share this post


Link to post
Share on other sites
jumper    58

The plan is to keep a basic set of auxiliary DLLs with minimal functionality for inclusion with KernelEx. Then have larger and more functional versionals of each that can be downloaded and installed individually as plug-ins.

On my system, I am currently using four ReactOS (6-11-2014) DLLs as plug-ins. I put them in a KernelEx\ROS subfolder so my Ktree entries look like this KernelEx_KnownDLLs.reg file:

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\KernelEx\KnownDLLs]
"MSIMG32"="MSIMG32.DLL"
"PDH"="PDH.DLL"
"PSAPI"="PSAPI.DLL"
"USERENV"="USERENV.DLL"
"UXTHEME"="ROS\\UXTHEME.DLL"
"WINTRUST"="ROS\\WINTRUST.DLL"
"WLDAP32"="ROS\\WLDAP32.DLL"
"WTSAPI32"="ROS\\WTSAPI32.DLL"



Edited by jumper
ipsCode clean-up

Share this post


Link to post
Share on other sites
schwups    7

Now I'm able to start and run Foxit Reader 7 ( KernelEX XPSP2 mode ). It is incredible fast here. Previous message was "Missing export PSAPI.DLL: GetMappedFileNameW".

It crashes with ribbon toolbar mode, but not with classic toolbar mode. Help => UI Options => change toolbar mode. The status bar buttons are pale, but function. They also look pale with Version 6.

 

crashlog ribbon toolbar mode:

 

 

CRASHLOG.7z

Edited by schwups

Share this post


Link to post
Share on other sites
jumper    58

In the stack dump, I'm seeing way too many duplicate return addresses in Kernel32 (bff6....) and Kexbases (bfa4....). Looks like a stack leak is happening.

The crash is in module FOXITREADER.EXE, so I'll need to get that to have any hope in determining what lead up to the crash. The last reference to Kexbases is bfa4d24b; what version are you using?

Share this post


Link to post
Share on other sites
jumper    58

For Psapi, yes because the ReactOS version isn't compatible.

For Uxtheme, no because the ReactOS version is compatible.

Share this post


Link to post
Share on other sites
jumper    58
:) ReactOS™ version 0.4.0 was released 16 February 2016. Please download the LiveCD and test the system DLL's for compatibility with KernelEx. Thanks!

Share this post


Link to post
Share on other sites
MiKl    1

Hi Jumper, the entries (post 6) are case sensitive, aren't they ?

And I have tested t2embed.dll ! Seemed fine but is there a way to trigger an error to make sure that one dll is indeed compatible ?

Share this post


Link to post
Share on other sites
jumper    58

I believe the entries are not case-sensitive, but uppercase is the norm. Checking my registry, I see I am currently using mixed case on one entry and it presumably worked when I first added and tested it.

Why did you choose T2embed.dll and what verson of it are you testing? Just test any apps that call it and check the logs to see if it was invoked. If it was and the app performed as desired, then it works.

Share this post


Link to post
Share on other sites
MiKl    1

DLL's from ReactOS 0.4.0.  (ROS\\...) which seem to work

Test environments: KEx v12.  -  Apps: Seamonkey 2.6.1., Sumatrapdf 3.0, Notepad++ 6.9, VLC 2.2.2, Audacity 2.0.6., Audacity 2.1.2, OpenOffice 3.2.1

Preparations:

- You may need to add these Kext-Stubs - please check the DLL's with DependencyWalker.

[Advapi32.dll]
RegGetValueW=

[Gdi32.dll]
GdiConvertToDevmodeW=

[Ntdll.dll]
RtlAreBitsClear=
RtlAreBitsSet=
RtlCreateUnicodeString=
RtlSetBits=

~ ~

Seem to be working:

[HKEY_LOCAL_MACHINE\Software\KernelEx\KnownDLLs]

"MSIMG32"="MSIMG32.DLL"
"PDH"="PDH.DLL"
"PSAPI"="PSAPI.DLL"
"USERENV"="USERENV.DLL"
"ADVAPI32"="ROS\\ADVAPI32.DLL"
"ADVAPI32_VISTA"="ROS\\ADVAPI32_VISTA.DLL"
"AVICAP32"="ROS\\AVICAP32.DLL"
"COMCTL32"="ROS\\COMCTL32.DLL"
"CRYPT32"="ROS\\CRYPT32.DLL"
"DBGHELP"="ROS\\DBGHELP.DLL"
"DCIMAN32"="ROS\\DCIMAN32.DLL"
"DINPUT8"="ROS\\DINPUT8.DLL"
"GDI32"="ROS\\GDI32.DLL"
"IMM32"="ROS\\IMM32.DLL"
"KERNEL32"="ROS\\KERNEL32.DLL"
"MLANG"="ROS\\MLANG.DLL"
"MPR"="ROS\\MPR.DLL"
"MSCMS"="ROS\\MSCMS.DLL"
"MSVCRT20"="ROS\\MSVCRT20.DLL"
"MSVFW32"="ROS\\MSVFW32.DLL"
"NTDLL"="ROS\\NTDLL.DLL"
"OLEDLG"="ROS\\OLEDLG.DLL"
"RSABASE"="ROS\\RSABASE.DLL"
"SECUR32"="ROS\\SECUR32.DLL"
"T2EMBED"="ROS\\T2EMBED.DLL"
"USER32"="ROS\\USER32.DLL"
"UXTHEME"="ROS\\UXTHEME.DLL"
"VERSION"="ROS\\VERSION.DLL"
"WINMM"="ROS\\WINMM.DLL"
"WINTRUST"="ROS\\WINTRUST.DLL"
"WLDAP32"="ROS\\WLDAP32.DLL"
"WTSAPI32"="ROS\\WTSAPI32.DLL"

Not working:

COMDLG32.DLL  (seem to break open dialogues)
DHCPCSVC.DLL  (seem to break flash player)
ICMP.DLL  (seem to break flash player)
DSOUND.DLL  (seem to break flash player)
IPHLPAPI.DLL  (seem to break flash player)
MSAFD.DLL  (causing Internet/Browser problems, websites do not load at all)
MSIMG32.DLL  (breaks SeaMonkey, kext stub seem to fail)
MSWSOCK.DLL  (breaks (at least) SeaMonkey)
OLE32.DLL  (breaks OS)
OLEAUT32.DLL  (breaks OS)
PSAPI.DLL  (breaks (at least) SeaMonkey)
RPCRT4.DLL  (breaks kex-apps)
RSAENH.DLL  (breaks OS)
SHDOCVW.DLL  (seem to break plainoldfavorites)
SHELL32.DLL  (breaks OS)
SHFOLDER.DLL  (seem to break (at least) VLC settings)
SHLWAPI.DLL  (breaks OS)
URLMON.DLL  (seem to break flash player)
USP10.DLL  (breaks kex-apps)
WININET.DLL  (causes some issues in notepad++)
WS2_32.DLL  (breaks kex-apps, asking for dnsapi.dll - more tests required)
WS2HELP.DLL  (breaks kex-apps, Kext entry failed - more tests required)
WSOCK32.DLL  (breaks kex-apps)


Not present in ReactOS 0.4.0:

INDICDLL.DLL
MSASN1.DLL
MSVCP80.DLL
MSVCR80.DLL
MSWSOSP.DLL
MYDOCS.DLL
RNR20.DLL
UNICOWS.DLL
WOW32.DLL

Edited by MiKl

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×