dost0011 Posted October 15, 2010 Posted October 15, 2010 Hi, I've written a short Script using the inpout32.dll for accessing the Parallelport. With 32 Bit Win it works. Now I changed to Win 7 64 Bit and i tried to use the inpout64x.dll. But it doesn't work. The result of the DLLcall is always "0". Problems could be: - Convert the 32Bit Variable into 64Bit Variable - use of hwinterfacex64.sys. Where to copy, how to use? Perhaps you can help me getting the script to work well. Many thanks. Informations about the dll: http://logix4u.net/Legacy_Ports/Parallel_Port/Inpoutx64.dll_for_WIN_XP_64_bit.htmlParallelport_Tester.zip
dost0011 Posted October 16, 2010 Author Posted October 16, 2010 Is it so difficult or so boring? Please help me. I'm sure that there are some cracks, that know how to use a 64Bit dll. Greetings
Ascend4nt Posted October 17, 2010 Posted October 17, 2010 (edited) 1. Get the better (working) versions here -> 'InpOut32 and InpOutx64'2. Check for @AutoItX64, if that is non-zero, then load the inpoutx64 DLL, otherwise load inpout323. Make sure the driver installed ($aRet[0] will be non-zero if it is installed):$aRet=DllCall($DLL,"bool","IsInpOutDriverOpen")4. Use the right calling conventions:Input:$aRet=DllCall($DLL,"byte","Inp32","ushort",$iIOPort)Output:DllCall($DLL,"none","Out32","ushort",$iIOPort,"byte",$iData)Note also that there are now word and doubleword variants of the input/output functions.By the way - thanks for making me aware of this. Using this I've created a simple I/O Functions UDF. I've combined it with trancexx's '_Beep' function to make a Windows 7 x64 working speaker-Beep function P.S. What modern motherboard actually has a parallel port? Those died out years ago, partially because of the ancient interface, and probably because using the parallel port sucked up 100% of the CPU (at least on XP)!*edit: I/O Functions UDF link Edited October 19, 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)
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