Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

_InjectDll UDF


  • Please log in to reply
45 replies to this topic

#41 tip

tip

    Adventurer

  • Active Members
  • PipPip
  • 103 posts

Posted 25 October 2008 - 10:01 PM

It's 7zip dll file of a japanese project called "Common Archiver". 7-zip32.dll

here you can find dll
http://homepage3.nifty.com/csdinc/archiver/lib/7z457001.zip

and this is forum thread for how to use dll functions

http://www.autoitscript.com/forum/index.php?showtopic=25984

Regards
Tip

MsgBox_Tipped: Eye candy msgboxes/inputboxes/loginboxes. | CreateBlankBox: Semi-transparent layers with borders and rounded corners.








#42 FireFox

FireFox

    It slips through our fingers, like a fist full of sand.

  • MVPs
  • 5,382 posts

Posted 29 January 2009 - 04:45 PM

Hi,
Im trying to make little script for inject process you want with dll, I tried the main example and another example and its not working, it return always error -7 (Write memory error)
#include "_InjectDll.au3" $ret = _InjectDllByPid(ProcessExists('calc.exe'), '7-zip32.dll') If @error < 0 Then     MsgBox(16, $ret, @error) Else     MsgBox(64, $ret, 'Injected !') EndIfƒo݊÷ Ø   Ý~Ší†+Å©©•è­­ën®{®º+âŠ^žšèqë,zºè­«­¢+ؘŒÀÌØíɕЀô}%¹©•Ñ±°¡]¥¹•Ñ!…¹‘±” ˜ŒÌäí …±Õ±…ÑÉ¥”˜ŒÌä줰€€˜ŒÌäìܵé¥ÀÌȹ‘±°˜ŒÌäì¤(˜ŒÀÌØí•ÉȀô•ÉɽÈ)%˜€˜ŒÀÌØí•ÉȀ™±Ðì€ÀQ¡•¸(€€€5͝   ½à ÄØ°€˜ŒÀÌØíɕа€˜ŒÀÌØí•ÉȤ)±Í”(€€€5͝   ½à Øа€˜ŒÀÌØíɕа€™ÅÕ½ÐíeU@˜ŒÌÌì™ÅÕ½Ðì¤)¹‘%˜


Cheers, FireFox.

Edited by FireFox, 29 January 2009 - 04:49 PM.

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.

Hardware : Intel® Core™ i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

Updated 07 November, 2013 - If you find dead links please send me a PM, do not post in the topics !


#43 wraithdu

wraithdu

    this noise inside my head

  • MVPs
  • 2,413 posts

Posted 29 January 2009 - 06:30 PM

Try using the injection function from my UDF here -

http://www.autoitscript.com/forum/index.php?showtopic=87240

#44 demandnothing

demandnothing

    Adventurer

  • Active Members
  • PipPip
  • 115 posts

Posted 25 September 2009 - 07:09 PM

im also getting the -7 write memory error... i've tried substituting the one provided with another one from a different UDF but it doesnt change anything.. does anyone know why its not working?

#45 misjdd

misjdd

    Seeker

  • Active Members
  • 11 posts

Posted 04 February 2010 - 04:34 PM

im also getting the -7 write memory error... i've tried substituting the one provided with another one from a different UDF but it doesnt change anything.. does anyone know why its not working?



I think i got it fixed. Change both of the "int_ptr" items in the injector to "ptr*"

JD

#46 wraithdu

wraithdu

    this noise inside my head

  • MVPs
  • 2,413 posts

Posted 04 February 2010 - 08:00 PM

EDIT: n/m, didn't realize this script was so old. I think the substitution you made is correct.

Edited by wraithdu, 04 February 2010 - 08:03 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users