MSFN Forum: KernelEx 4.5.2 - MSFN Forum

Jump to content


  • 74 Pages +
  • « First
  • 27
  • 28
  • 29
  • 30
  • 31
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

KernelEx 4.5.2 New release 2011-11-14 Rate Topic: -----

#561 User is offline   lelandaust 

  • Group: Members
  • Posts: 3
  • Joined: 30-April 10
  • OS:98SE
  • Country: Country Flag

Posted 30 April 2010 - 11:19 AM

Can KernelEx be used to allow NT4.0 File Manager (Winfile.exe, 32-bit, LFNs compliant) to run under Win98SE? If so, are there any special steps that must be done?

lelandaust

KernelEx v 4.5 Beta


#562 User is offline   schwups 

  • schwups
  • PipPip
  • Group: Members
  • Posts: 273
  • Joined: 11-November 09
  • OS:ME
  • Country: Country Flag

Posted 01 May 2010 - 10:40 AM

Hallo HardDriv'n,

I've tested a little bit. The KMPlayer 2.9.3.1428 seems to work proper with the K-Lite Codec Pack also the Gomplayer 2.2.21. The VLC Player 1.0.3 now doesn't play anything.
The updated WindowsMediaPlayer 9.00.00.4504 and JetAudio 7.1.1 had problems to play mpg.
Tested formats: flv, mpg, mp3, wav, flac, ogg, mp4

K-lite Codec Pack 5.83 Full installed (Media Player Classic HomeCinema 1.3.1752.0 inside doesn't work (missing Export-User32.dll:GetRawInputDeviceList))
.

The CodecTweakTool starts in Compatibility Mode for Win2000 SP4.

This post has been edited by schwups: 01 May 2010 - 03:35 PM


#563 User is offline   sherpya 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 26-August 05

Posted 02 May 2010 - 09:01 PM

Hi,
I was looking at sources, I think vc6 is still not a good idea nowadays, vs 2005 produces executables compatible with win98
but I think mingw would be preferred since you may better control stuff that are linked
I've tried to build kexcore by converting thunks.cpp in a pure att asm but I'm unable to resolve intermodular symbols
unfortunately gcc does not support naked functions so you can't just write the function and then emit asm by using __asm()

about mpc

GetRawInputDeviceList -> return 0

replace other RawInputStuff with stubs, the only code where used is in mplayerc.cpp

void CMPlayerCApp::RegisterHotkeys()
{
    RAWINPUTDEVICELIST	InputDeviceList[50];
    UINT				nInputDeviceCount = countof(InputDeviceList);
    RID_DEVICE_INFO		DevInfo;
    RAWINPUTDEVICE		MCEInputDevice[] =
    {
        //	usUsagePage		usUsage			dwFlags		hwndTarget
        {	0xFFBC,			0x88,				0,		NULL},
        {	0x000C,			0x01,				0,		NULL},
        {	0x000C,			0x80,				0,		NULL}
    };

    // Register MCE Remote Control raw input
    for (int i=0; i<countof(MCEInputDevice); i++)
        MCEInputDevice[i].hwndTarget = m_pMainWnd->m_hWnd;

    nInputDeviceCount = GetRawInputDeviceList (InputDeviceList, &nInputDeviceCount, sizeof(RAWINPUTDEVICELIST));
    for (int i=0; i<nInputDeviceCount; i++)
    {
        UINT	nTemp = sizeof(DevInfo);
        if (GetRawInputDeviceInfo (InputDeviceList[i].hDevice, RIDI_DEVICEINFO, &DevInfo, &nTemp)>0)
        {
            if (DevInfo.hid.dwVendorId == 0x00000471 &&		// Philips HID vendor id
                DevInfo.hid.dwProductId == 0x00000617)		// IEEE802.15.4 RF Dongle (SRM 7500)
            {
                MCEInputDevice[0].usUsagePage	= DevInfo.hid.usUsagePage;
                MCEInputDevice[0].usUsage		= DevInfo.hid.usUsage;
                GetRemoteControlCode = GetRemoteControlCodeSRM7500;
            }
        }
    }


    RegisterRawInputDevices (MCEInputDevice, countof(MCEInputDevice), sizeof(RAWINPUTDEVICE));


    if (m_s.fGlobalMedia)
    {
        POSITION pos = m_s.wmcmds.GetHeadPosition();

        while(pos)
        {
            wmcmd& wc = m_s.wmcmds.GetNext(pos);
            if (wc.appcmd != 0)
                RegisterHotKey(m_pMainWnd->m_hWnd, wc.appcmd, 0, GetVKFromAppCommand (wc.appcmd));
        }
    }
}



Also I'm curious about the hook works, it's a replacement of kernel32? it is possible to make it works as "light" version, I mean a loader that will inject a dll
with missing stubs?
I already made some compatibility stuff, that may be usefull
http://clamwin.git.s...b854610;hb=HEAD

also consider interacting with reactos/wine projects :D

This post has been edited by sherpya: 02 May 2010 - 09:01 PM


#564 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,866
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 03 May 2010 - 12:02 AM

Welcome back, sherpya! It's great to have you here! :thumbup
Please consider showing up more often. There's lots of things to do and too few coders/modders...
Auguri!

#565 User is offline   rilef 

  • Junior
  • Pip
  • Group: Members
  • Posts: 59
  • Joined: 08-April 10
  • OS:none specified
  • Country: Country Flag

Posted 10 May 2010 - 10:41 AM

The Orban AAC/AACPlus plugin is the best way to play AACPlus media files in Windows Media Player or other directshow player. To install the Orban AAC/AACPlus Windows Media Player Plugin for win9x/me:

To be installed and run, the Orban plugin requires that GDIPlus.dll first be installed (downloaded from http://www.mdgx.com/upd98me.php). The Orban plugin is currently available from several download sites, including http://www.free-code...in_download.htm .

The Orban plugin installer program may require Windows 2000/XP compatibility in order to run. Once installed, modify the Windows Registry as follows:

Find this registry key: "HKEY_LOCAL_MACHINE\Software\KernelEx\AppSettings\Configs ".
Add the following string to this registry key: "C:\Program Files\Orban\AAC-aacPlus Plugin\aacpParser.dll"
Enter the following string value for this string: "WINXP"
Reboot.

#566 User is offline   M()zart 

  • Member
  • PipPip
  • Group: Members
  • Posts: 244
  • Joined: 17-June 08

Posted 11 May 2010 - 10:38 PM

Remember, I (and some other people) wrote about errors during reboot and shutdown? It seems that I found when they are reproduced. They are reproduced usually when I shutdown or reboot with usb storage device plugged in. As my hdd is just 1.7 Gb, it is often plugged in all the time, when I shutdown or reboot. I'm using NUSB 3 (as I remember, 3.3) and I have USB 1.1 ports, not USB 2. It seems, the error is not reproduced without KernelEx installed.

After installing RP 9.5 (I don't know if this is the reason) I've encountered an error, which I never had before - CrystalPlayer 1.98 crashed in kexbases.dll. It is Win98 compatible application and works without KernelEx. I have been using it all the time and it always worked OK. Now after this crash I have disabled KernelEx for it, and I have not tested if the error is reproducible.

Program CRYSTAL caused an error accessing stack (this is my translation from russian)
in module KEXBASES.DLL at 0187:bfa41c4e.
Registers:
EAX=7fc63660 CS=0187 EIP=bfa41c4e EFLGS=00010282
EBX=09ecffbc SS=018f ESP=09ecf000 EBP=09ecf018
ECX=09ecf038 DS=018f ESI=09ecf350 FS=55a7
EDX=00000020 ES=018f EDI=7fc63681 GS=0000

Bytes at address CS:EIP:
50 8b 4d 08 51 ff 15 2c 42 a5 bf 85 c0 74 0a b8

Stack data:
00000020 09ecf038 00000000 81846528 00000070 00000000 09ecf06c 7fc5348a ffffffff 7fc63660 00000020 09ecf038 00000000 81849164 81849120 7fc39ae0

This post has been edited by M()zart: 12 May 2010 - 12:41 AM


#567 User is offline   M()zart 

  • Member
  • PipPip
  • Group: Members
  • Posts: 244
  • Joined: 17-June 08

Posted 13 May 2010 - 05:19 AM

Please add PrintWindow function to the KernelEx. It seems, it is the last missing import for Aston Menu. Not sure if Aston Menu will work, but I think it worth trying. PrintWindow implementation from Wine should be OK, as I see. May be just replace SendMessageW with SendMessageA, because there are no strings to send.

Upd: Well, I tried to do this, but Aston menu crashes. So may be there is no need for this function...

This post has been edited by M()zart: 17 May 2010 - 05:32 AM


#568 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 17 May 2010 - 07:10 AM

I played with KernelEx 4.5 yesterday and successfully installed Mozilla Seamonkey 2.0.4 and BOCHS PC emulator 2.4.5. Good work.

#569 User is offline   halohalo 

  • Member
  • PipPip
  • Group: Members
  • Posts: 178
  • Joined: 07-December 06
  • OS:98SE
  • Country: Country Flag

Posted 18 May 2010 - 05:11 AM

Lunascape web browser 6.1.3 portable works with KernelEX 4.5 beta 2.
Gecko rendering engine can't show web pages properly at XP mode, so I use 2000 mode instead.
Trident rendering engine works as IE without major problem.

WebKit rendering engine fails to show East Asian characters, and error messages about RPCRT4.dll and MSVCR80.dll appear when I close browser.

http://www.lunascape.tv/

This post has been edited by halohalo: 18 May 2010 - 07:17 AM


#570 User is offline   EvanD 

  • KISS Advocate
  • Group: Members
  • Posts: 32
  • Joined: 17-April 08
  • OS:98SE
  • Country: Country Flag

Posted 18 May 2010 - 01:53 PM

View Postxrayer, on 17 May 2010 - 07:10 AM, said:

I played with KernelEx 4.5 yesterday and successfully installed Mozilla Seamonkey 2.0.4 and BOCHS PC emulator 2.4.5. Good work.


Did you have to do anything special to get Seamonkey 2.0.4 to install? Does it work well and does Seamonkey 2 have the same problem with printing that Firefox 3.6 has? Thanks and good work on your part!

#571 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 18 May 2010 - 07:45 PM

View PostEvanD, on 18 May 2010 - 01:53 PM, said:

Did you have to do anything special to get Seamonkey 2.0.4 to install? Does it work well and does Seamonkey 2 have the same problem with printing that Firefox 3.6 has? Thanks and good work on your part!


1st I had to set WinXP SP2 compatability to installation package, then install and finally set compatability for seamonkey.exe. Then I converted my profile from Seamonkey 1.1.19.
I didn't find any problems yet, browsing and emails seems to work. I don't print much often-not tested yet. GDI resources consumption seems to be same as with old Seamonkey.

#572 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 19 May 2010 - 05:06 PM

I found a compatability problem with VirtualDUB, resp. with some its plugins that I use (e.g. FFVDUB.VDF, VDUBAUO.VDF, MP4InputDriver.vdplugin...) and Kernelex. Before I installed Kernelex it ran fine. Now VirtualDUB don't start (no error displayed, I see it only in task manager as a zombie process). I don't use global compatability I rather use individual. Enabling compatability for virtualdub.exe didn't help. When I uninstall Kernelex (ctlpanel/programs/remove) it started to work again. I also tried to downgrade to version 4.0 but the same. Even with old 0.3.6. If mentioned plugins are moved/renamed from plugins and plugins32 dir it starts. Here I made a small VirtualDUB 1.9.9 test package - please try someone else. I don't understand how Kernelex can affect other programs that don't have compatability set. Is there some similar issue with another program that sopped working after Kernelex installation?

#573 User is offline   halohalo 

  • Member
  • PipPip
  • Group: Members
  • Posts: 178
  • Joined: 07-December 06
  • OS:98SE
  • Country: Country Flag

Posted 19 May 2010 - 06:39 PM

View Postxrayer, on 19 May 2010 - 05:06 PM, said:

I found a compatability problem with VirtualDUB, resp. with some its plugins that I use (e.g. FFVDUB.VDF, VDUBAUO.VDF, MP4InputDriver.vdplugin...) and Kernelex. Before I installed Kernelex it ran fine. Now VirtualDUB don't start (no error displayed, I see it only in task manager as a zombie process). I don't use global compatability I rather use individual. Enabling compatability for virtualdub.exe didn't help. When I uninstall Kernelex (ctlpanel/programs/remove) it started to work again. I also tried to downgrade to version 4.0 but the same. Even with old 0.3.6. If mentioned plugins are moved/renamed from plugins and plugins32 dir it starts. Here I made a small VirtualDUB 1.9.9 test package - please try someone else. I don't understand how Kernelex can affect other programs that don't have compatability set. Is there some similar issue with another program that sopped working after Kernelex installation?

I can start VirtualDUB 1.9.9 or 1.8.1 without problem.

When I installed KernelEX, I didn't apply KernelEX to every program.

#574 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 19 May 2010 - 07:09 PM

View Posthalohalo, on 19 May 2010 - 06:39 PM, said:

I can start VirtualDUB 1.9.9 or 1.8.1 without problem.

When I installed KernelEX, I didn't apply KernelEX to every program.


And did you run my test package or from official site? There's no plugins in official download so it statr but with that plugins don't.

#575 User is offline   halohalo 

  • Member
  • PipPip
  • Group: Members
  • Posts: 178
  • Joined: 07-December 06
  • OS:98SE
  • Country: Country Flag

Posted 19 May 2010 - 08:39 PM

View Postxrayer, on 19 May 2010 - 07:09 PM, said:

And did you run my test package or from official site? There's no plugins in official download so it statr but with that plugins don't.

I've tested again and VirtualDUB crashes when those plugins exist. Besides, if you enable KernelEX, VirtualDUB starts with Ffvdub.vdf and MP4InputDriver.vdplugin, but not Vdubauo.vdf.

#576 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 20 May 2010 - 03:37 AM

View Posthalohalo, on 19 May 2010 - 08:39 PM, said:

I've tested again and VirtualDUB crashes when those plugins exist. Besides, if you enable KernelEX, VirtualDUB starts with Ffvdub.vdf and MP4InputDriver.vdplugin, but not Vdubauo.vdf.


Interesting. When I set compatability for virtualdub.exe it didn't die silently but display some error message that Virtualdub crashed and I can take error log and close it. But if you try to uninstall kernelex you will see that it start with all plugins. And this seems to me a bug - affect programs that doesn't have compatability set.

This post has been edited by xrayer: 20 May 2010 - 03:38 AM


#577 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,139
  • Joined: 24-November 04

Posted 21 May 2010 - 09:33 AM

View Postlelandaust, on 30 April 2010 - 11:19 AM, said:

Can KernelEx be used to allow NT4.0 File Manager (Winfile.exe, 32-bit, LFNs compliant) to run under Win98SE? If so, are there any special steps that must be done?

lelandaust



no, lelandaust! Running NT4 File Manager under 98se/ME WITH KernelEx installed results in error message "The WINFILE.EXE file is linked to missing export SHELL32.DLL:StrChrW". I've checked this myself and confirmed it.

Looks like KernelEx will need to be updated to include StrChrW function for SHELL32.DLL file, which the Win98/ME versions do NOT have (AND KernelEx will need to "patch" 98se/ME's shell32.dll file to make that possible).

#578 User is offline   caymanfleck 

  • Group: Members
  • Posts: 9
  • Joined: 08-April 10
  • OS:none specified
  • Country: Country Flag

Posted 29 May 2010 - 02:43 PM

I'm just curious, from a technical standpoint...why can't KernelEx work on Win 95? Is it a technical limitation (I know the platforms are quite similar) or an artificial one?

#579 User is offline   luluthefirst 

  • Junior
  • Pip
  • Group: Members
  • Posts: 73
  • Joined: 09-December 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 May 2010 - 01:46 PM

How can I implement functions on a dll like KernelEx do?

I want to know.

Thanks.

#580 User is offline   lelandaust 

  • Group: Members
  • Posts: 3
  • Joined: 30-April 10
  • OS:98SE
  • Country: Country Flag

Posted 07 June 2010 - 02:52 PM

View Posterpdude8, on 21 May 2010 - 09:33 AM, said:

View Postlelandaust, on 30 April 2010 - 11:19 AM, said:

Can KernelEx be used to allow NT4.0 File Manager (Winfile.exe, 32-bit, LFNs compliant) to run under Win98SE? If so, are there any special steps that must be done?

lelandaust



no, lelandaust! Running NT4 File Manager under 98se/ME WITH KernelEx installed results in error message "The WINFILE.EXE file is linked to missing export SHELL32.DLL:StrChrW". I've checked this myself and confirmed it.

Looks like KernelEx will need to be updated to include StrChrW function for SHELL32.DLL file, which the Win98/ME versions do NOT have (AND KernelEx will need to "patch" 98se/ME's shell32.dll file to make that possible).


OK. Thanks, erpdude8. I had gotten the same error message, but presumed that I had done something wrong. Making NT4 file manager run in Win98se would be great, but it may be more trouble than it is worth, if Shell32.dll has to be patched.

Lelandaust

Share this topic:


  • 74 Pages +
  • « First
  • 27
  • 28
  • 29
  • 30
  • 31
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy