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

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

MS patch (mspatcha.dll) - how to use? Does anybody know how to use MS patch (mspatcha.dll)? Rate Topic: -----

#1 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 05 July 2006 - 03:47 AM

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


#2 User is offline   erpdude8 

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

Posted 05 July 2006 - 09:09 AM

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 User is offline   erpdude8 

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

Posted 10 July 2006 - 09:06 PM

View Posterpdude8, on Jul 5 2006, 10:09 AM, said:

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 User is offline   erpdude8 

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

Posted 11 September 2006 - 08:39 AM

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 User is offline   LLXX 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,399
  • Joined: 04-December 05

Posted 11 September 2006 - 09:27 PM

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 User is offline   erpdude8 

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

Posted 13 September 2006 - 09:54 AM

View PostLLXX, on Sep 11 2006, 10:27 PM, said:

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 User is offline   hazard_abio 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 21-February 05

Posted 15 September 2006 - 07:38 AM

View Posterpdude8, on Sep 13 2006, 11:54 AM, said:

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-source-code.com/vb/scrip...26&lngWId=1

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

#8 User is online   Tihiy 

  • the creator
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,609
  • Joined: 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 September 2006 - 08:27 AM

Quote

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

#9 User is offline   erpdude8 

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

Posted 02 October 2006 - 09:04 AM

View PostTihiy, on Sep 15 2006, 09:27 AM, said:

Quote

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.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>

This post has been edited by erpdude8: 02 October 2006 - 09:04 AM


#10 User is offline   PROBLEMCHYLD 

  • The Resurrector for old Windows OS
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,470
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 10 November 2012 - 11:46 AM

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.

#11 User is offline   jumper 

  • Masters HJ/TJ'er (back in training)
  • PipPipPip
  • Group: Members
  • Posts: 361
  • Joined: 21-January 11
  • OS:98SE
  • Country: Country Flag

Posted 10 November 2012 - 10:34 PM

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.

#12 User is offline   PROBLEMCHYLD 

  • The Resurrector for old Windows OS
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,470
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 13 November 2012 - 02:24 PM

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

#13 User is offline   jumper 

  • Masters HJ/TJ'er (back in training)
  • PipPipPip
  • Group: Members
  • Posts: 361
  • Joined: 21-January 11
  • OS:98SE
  • Country: Country Flag

Posted 13 November 2012 - 03:41 PM

View PostTihiy, on 15 September 2006 - 08:27 AM, said:

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

Share this topic:


Page 1 of 1
  • 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