Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
Petr

MS patch (mspatcha.dll) - how to use?

13 posts in this topic

Does anybody know how to use MS patch (mspatcha.dll) to extract the RTMQFE branch form packages like KB916281? I have found on MSDN pages how to use mspatchc.dll and mspatcha.dll by other programs, but is there any way how to use them as standalone utility?

Or is there any tool that would create this type of patch files and restore them back?

Petr

0

Share this post


Link to post
Share on other sites

Petr,

there's a third party DLL patcher that uses the mspatcha.dll file to "patch" files. I mentioned this to MDGx in the "98FE + 98SE + ME + updates + hotfixes" topic a few months ago.

Use the WTL Patcher app from this site (requires registering with the Code Project site to download the program):

http://www.codeproject.com/tools/patch.asp

0

Share this post


Link to post
Share on other sites
Use the WTL Patcher app from this site (requires registering with the Code Project site to download the program):

http://www.codeproject.com/tools/patch.asp

bad news about the WTL Patcher application is that it only works properly under windows 2000, xp, server 2003 or vista. Run the WTL patcher tool under windows 95, 98 or me and the patcher's functions will do nothing even with the windows installer 2.0 and the mspatcha.dll file installed under W9XME.

0

Share this post


Link to post
Share on other sites

latest versions of mspatcha.dll file for Win9x/ME/NT4 (5.2.9354.0) can be found in the IE6 SP1 KB916281 security update. newer than the one found in the Windows Installer 2.0 package for Win9x/ME/NT4.

0

Share this post


Link to post
Share on other sites

Have you examined the exports of the DLL with a PE editor?

Sometimes the function names are either self-descriptive (and a bit of reversing and experimentation should reveal the parameters etc.) or make good search terms for further exploration.

0

Share this post


Link to post
Share on other sites
Have you examined the exports of the DLL with a PE editor?

Sometimes the function names are either self-descriptive (and a bit of reversing and experimentation should reveal the parameters etc.) or make good search terms for further exploration.

BUT how do you use them? what is the syntax for using the MSPATCHA.DLL file w/out using any third party tools?

0

Share this post


Link to post
Share on other sites
well, if you have VB6, you can compile this and use it to find out what the syntax of the dll is

http://www.planet-source-code.com/vb/scrip...26&lngWId=1

It won't work since mspatch does not rely on COM.

mspatch functions are extremely easy to use.

API is described here: http://msdn.microsoft.com/library/default..../bdcapitech.asp

I use them in RPLite V [English]. It is easy but requires some weird string format.

0

Share this post


Link to post
Share on other sites
well, if you have VB6, you can compile this and use it to find out what the syntax of the dll is

http://www.planet-source-code.com/vb/scrip...26&lngWId=1

It won't work since mspatch does not rely on COM.

mspatch functions are extremely easy to use.

API is described here: http://msdn.microsoft.com/library/default..../bdcapitech.asp

I use them in RPLite V [English]. It is easy but requires some weird string format.

all right. I wasnt clear to some people when I asked "what is the syntax for using the MSPATCHA.DLL file w/out using any third party tools?"

I should ask it this way.

Can I use MSPATCHA.DLL by using RUNDLL32.EXE? (ex. RUNDLL32 MSPATCHA.DLL,<whatever valid command or commands "mspacha" will accept>

Edited by erpdude8
0

Share this post


Link to post
Share on other sites

I was wondering if this method can be used instead of using 3rd party apps to patch system files? It would help keep the SP slimmed down.

0

Share this post


Link to post
Share on other sites

Yes, I think so.

On my Win98se machine, Mspatcha.dll exists in the System folder. It is an XP version, but Depends reports no problems. It should work with RUNDLL32.

0

Share this post


Link to post
Share on other sites

There is nothing I have found that says how to use it :whistle:

0

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.