Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

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

- - - - -

  • Please log in to reply
12 replies to this topic

#1
Petr

Petr

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 981 posts
  • Joined 15-April 05
  • OS:98SE
  • Country: Country Flag
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


How to remove advertisement from MSFN

#2
erpdude8

erpdude8

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,143 posts
  • Joined 24-November 04
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.codeproje...tools/patch.asp

#3
erpdude8

erpdude8

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,143 posts
  • Joined 24-November 04

Use the WTL Patcher app from this site (requires registering with the Code Project site to download the program):
http://www.codeproje...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.

#4
erpdude8

erpdude8

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,143 posts
  • Joined 24-November 04
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.

#5
LLXX

LLXX

    MSFN Junkie

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 3,399 posts
  • Joined 04-December 05
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.

#6
erpdude8

erpdude8

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,143 posts
  • Joined 24-November 04

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?

#7
hazard_abio

hazard_abio

    Newbie

  • Member
  • 41 posts
  • Joined 21-February 05

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



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-so...p...26&lngWId=1

i haven't tryed this myself, but this is what the author says it can do.

#8
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,944 posts
  • Joined 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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-so...p...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.microsof.../bdcapitech.asp
I use them in RPLite V [English]. It is easy but requires some weird string format.

#9
erpdude8

erpdude8

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,143 posts
  • Joined 24-November 04

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-so...p...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.microsof.../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, 02 October 2006 - 09:04 AM.


#10
PROBLEMCHYLD

PROBLEMCHYLD

    The Resurrector for old Windows OS

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,533 posts
  • Joined 07-October 05
  • OS:98SE
  • Country: Country Flag
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.

Believe God is the Alpha and Omega.
Believe Jesus Christ died for our sins.
Repent for your sins now or there will be
BLOOD

The Path to God


U98SESP3 03-11-2013


#11
jumper

jumper

    2014 All-American Masters HJ'er

  • Member
  • PipPipPipPip
  • 501 posts
  • Joined 21-January 11
  • OS:98SE
  • Country: Country Flag
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.
Design feedback requested:
IHAtool - IpHlpApi tester; call various functions and report results
--status-> framework is solid; 22 api's fully supported; preview release coming soon
ComDlg32 wrapper - ComDlgEx meets IpHlpApi wrapper
--status-> PrintDlgExW working in latest SumatraPDF 8^)
Future projects: ImportPatcher40 - dialog interface; Kexter - IP40+Ktree+Kexstubs

#12
PROBLEMCHYLD

PROBLEMCHYLD

    The Resurrector for old Windows OS

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,533 posts
  • Joined 07-October 05
  • OS:98SE
  • Country: Country Flag
There is nothing I have found that says how to use it :whistle:

Believe God is the Alpha and Omega.
Believe Jesus Christ died for our sins.
Repent for your sins now or there will be
BLOOD

The Path to God


U98SESP3 03-11-2013


#13
jumper

jumper

    2014 All-American Masters HJ'er

  • Member
  • PipPipPipPip
  • 501 posts
  • Joined 21-January 11
  • OS:98SE
  • Country: Country Flag

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.

Here's an updated link to Delta Compression Application Programming Interfaces
Design feedback requested:
IHAtool - IpHlpApi tester; call various functions and report results
--status-> framework is solid; 22 api's fully supported; preview release coming soon
ComDlg32 wrapper - ComDlgEx meets IpHlpApi wrapper
--status-> PrintDlgExW working in latest SumatraPDF 8^)
Future projects: ImportPatcher40 - dialog interface; Kexter - IP40+Ktree+Kexstubs




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users