how to use inpout32.dll?

My x64 port of InpOut32
Post Reply
gen1mx6
New User
Posts: 3
Joined: Mon Dec 15, 2008 5:37 pm

how to use inpout32.dll?

Post by gen1mx6 » Mon Dec 15, 2008 5:59 pm

i have windows vista 32 bit i know this may be the wrong forum but i'm at a bit of a loss. trying to complete a project for school and this is the situation:

i'm using this board: http://www.electronickits.com/kit/compl ... ck1601.htm
all my laptop has is usb ports so i'm using a usb to parallel port converter.
i have visual studios 2005 and want to use c++.

if someone can post an example of how to include this in a project and use it i would be greatful. i'm just stuck on this part the rest of the program should be easy.

User avatar
phil
Site Admin
Posts: 5884
Joined: Sun Apr 06, 2003 11:12 pm

Re: how to use inpout32.dll?

Post by phil » Mon Dec 15, 2008 11:32 pm

I'm very sorry but ImpOut32 does not work with USB->Parallel adapters.
I don't know of any alternatives but maybe you could look at LibUSB on sourceforge?

Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

gen1mx6
New User
Posts: 3
Joined: Mon Dec 15, 2008 5:37 pm

Re: how to use inpout32.dll?

Post by gen1mx6 » Tue Dec 16, 2008 6:22 pm

thank you for the information.. saving me a headache i'll check your link out :)

gen1mx6
New User
Posts: 3
Joined: Mon Dec 15, 2008 5:37 pm

Re: how to use inpout32.dll?

Post by gen1mx6 » Tue Dec 16, 2008 8:08 pm

started to use winring0 and i followed all of its instructions.

have you used winring0 before? i was wondering it tells me to just
Add #include "OlsApi.h" statement to your source file.

since i've included the lib i shouldn't have to actually put the header file in my project right?
added library by-
went to properties/linker/additional libraries and added the folder that contains the .lib

because i'm getting a compiler error
fatal error C1083: Cannot open include file: 'OlsApi.h': No such file or directory

User avatar
phil
Site Admin
Posts: 5884
Joined: Sun Apr 06, 2003 11:12 pm

Re: how to use inpout32.dll?

Post by phil » Tue Dec 16, 2008 9:47 pm

I've not used WinRing0 in anger. I did make a InpOut32 compatible DLL that called the WinRing DLL but I never really used it so I don't think I can help much on this one :(

Can WinRing0 access the USB-Parallel port then?

EDIT: To answer your LIB question....
added library by-
went to properties/linker/additional libraries and added the folder that contains the .lib
That only adds a folder - did you actually add the lib to the list of included libraries?

I would expect the header to be in the WinRing0 download - just copy it to you project folder and #include it.

Phil.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply