monoceres Posted September 18, 2008 Author Posted September 18, 2008 But what if it is a custom dll ? There might not be informations for those on the engines.Sorry, it's not possible to gather this information from a stand-alone dll. The only thing that I think maybe can be done is getting the total size of the parameters, but that would probably (if it's possible) require some extensive digging in the assembly of the dll, something I'm simply not cabable of doing.Looking good.I'v been playing with commandline version and made some changes that makes it more user friendy (lol). This is only about user - program relation (communication) and has nothing to do with real program.I'v added interactive mode that makes it unnotlikeable (actually heard this word once).Check it out (I did not see this feature with any AutoIt's CUI):; SnippedWhen compiled, it can be used like before or in this new mode (doubleclick it, or call it with no parameers from command prompt). Left AutoIt3Wrapper_GUI directives.btw, still crashing when loaded with resource-only dll.Great! I replaced my old crappy one (as you might have guessed it took <10 minutes to write ) with yours and credited you for it The crashes should be fixed for good now. Checked the pointer to the export directory so dlls without it won't crash now >_< Broken link? PM me and I'll send you the file!
trancexx Posted September 18, 2008 Posted September 18, 2008 Great! I replaced my old crappy one (as you might have guessed it took <10 minutes to write ) with yours and credited you for it The crashes should be fixed for good now. Checked the pointer to the export directory so dlls without it won't crash now >_<piece of tool(you didn't remove #include <array.au3> line out of DEEcmd.au3 - it does nothing but adding extra weight) ♡♡♡ . eMyvnE
monoceres Posted September 18, 2008 Author Posted September 18, 2008 piece of tool(you didn't remove #include <array.au3> line out of DEEcmd.au3 - it does nothing but adding extra weight)Fixed Broken link? PM me and I'll send you the file!
GEOSoft Posted September 20, 2008 Posted September 20, 2008 (edited) Fixed Looks good. Now if you can just get it to return all the properties and methods it will be better than most that are available.EDIT: And just so Sm0ke_N will stop nagging I meant parameters and methods. Edited September 20, 2008 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Szhlopp Posted September 20, 2008 Posted September 20, 2008 Very cool mono. 5 Stars RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+'
trancexx Posted September 27, 2008 Posted September 27, 2008 (edited) I allways liked that feature some applications have to be able to proccess files dropped on them. Sometimes that comes very handy. Took liberty to modify DEE.au3 so that when compiled it has that ability. expandcollapse popup#NoTrayIcon #include "dllexports.au3" #include <GuiListView.au3> #include <windowsconstants.au3> #include <GUIConstantsEx.au3> #include <ie.au3> Global Const $width = 400 Global Const $height = 400 Global $title = "DEE - Dll Exports Viewer" Global $listview Global $listviewheight = 315, $listviewwidth = 380, $listviewx = 10, $listviewy = 60 Global $fname, $dropped Opt("GUIOnEventMode", 1) $hwnd = GUICreate($title, $width, $height, -1, -1, $WS_SIZEBOX) GUISetOnEvent(-3, "close") GUISetIcon(@ScriptDir & "\icon.ico") GUICtrlCreatePic(@ScriptDir & "\resources\open.jpg", 10, 10, 40, 40) GUICtrlSetOnEvent(-1, "_LoadDLL") GUICtrlSetResizing(-1, $GUI_DOCKALL) GUICtrlCreatePic(@ScriptDir & "\resources\google.jpg", 70, 10, 120, 40) GUICtrlSetOnEvent(-1, "google") GUICtrlSetResizing(-1, $GUI_DOCKALL) GUICtrlCreatePic(@ScriptDir & "\resources\msdn.jpg", 200, 10, 80, 40) GUICtrlSetOnEvent(-1, "msdn") GUICtrlSetResizing(-1, $GUI_DOCKALL) GUICtrlCreatePic(@ScriptDir & "\resources\about.jpg", 290, 10, 40, 40) GUICtrlSetOnEvent(-1, "about") GUICtrlSetResizing(-1, $GUI_DOCKALL) GUICtrlCreatePic(@ScriptDir & "\resources\exit.jpg", 340, 10, 40, 40) GUICtrlSetOnEvent(-1, "close") GUICtrlSetResizing(-1, $GUI_DOCKALL) GUISetBkColor(0xF0F0F0) $listview = _GUICtrlListView_Create($hwnd, "Function Name|Address", $listviewx, $listviewy, $listviewwidth, $listviewheight) _GUICtrlListView_SetColumnWidth($listview, 0, 190) _GUICtrlListView_SetColumnWidth($listview, 1, 190) GUIRegisterMsg($WM_GETMINMAXINFO, "_Resizing") GUISetState() If @Compiled Then _LoadDLL(True) Do Sleep(100) Until False Func _LoadDLL($dropped = False) If $dropped Then $fname = StringReplace($CmdLineRaw, '"', '') Else $fname = FileOpenDialog("DLL file to open", "", "DLL files (*.dll;*.ocx)") EndIf If $fname = "" Then Return $array = _GetExportedFunctions($fname) If IsArray($array) Then _GUICtrlListView_DeleteAllItems($listview) $title = "DEE - Viewing " & StringTrimLeft($fname, StringInStr($fname, "\", 0, -1)) WinSetTitle($hwnd, "", $title) For $i = 0 To UBound($array) - 1 _GUICtrlListView_AddItem($listview, $array[$i][0]) _GUICtrlListView_AddSubItem($listview, $i, $array[$i][1], 1) Next EndIf EndFunc Func google() For $i = 0 To _GUICtrlListView_GetItemCount($listview) If _GUICtrlListView_GetItemSelected($listview, $i) Then ShellExecute("http://www.google.com/search?hl=en&q=" & _GUICtrlListView_GetItemText($listview, $i)) Return EndIf Next MsgBox(16, "Error", "You have to select a function!") EndFunc The rest of the code is the same as before. Edited September 27, 2008 by trancexx ♡♡♡ . eMyvnE
Greek Posted December 27, 2009 Posted December 27, 2009 Nice Script! What about Drag & Drop for the DLLs? Would be usefull.
Ascend4nt Posted December 5, 2010 Posted December 5, 2010 (edited) This script fails in many ways.Try my UDF instead. Edited December 5, 2010 by Ascend4nt My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code)
Ascend4nt Posted December 6, 2010 Posted December 6, 2010 (edited) You mean 33.4KB uncompressed (for the File Import/Exports info). And don't blame monoceres' code crash on me*edit: nm, I see that you mean monoceres' code was crashing (not mine), because there wasn't any exports. It's probably a .NET DLL or some COM related one? *shrugs* Edited December 6, 2010 by Ascend4nt My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code)
iamtheky Posted December 13, 2010 Posted December 13, 2010 I am unable to download the link, can someone please verify ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
sheck Posted December 21, 2010 Posted December 21, 2010 Can't download file. Please re-post with another link. Thanks. Live and Learn, 'cause Knowledge is Super Power.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now