Page 1 of 1

how to use inpout32.dll?

Posted: Mon Dec 15, 2008 5:59 pm
by gen1mx6
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.

Re: how to use inpout32.dll?

Posted: Mon Dec 15, 2008 11:32 pm
by phil
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

Re: how to use inpout32.dll?

Posted: Tue Dec 16, 2008 6:22 pm
by gen1mx6
thank you for the information.. saving me a headache i'll check your link out :)

Re: how to use inpout32.dll?

Posted: Tue Dec 16, 2008 8:08 pm
by gen1mx6
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

Re: how to use inpout32.dll?

Posted: Tue Dec 16, 2008 9:47 pm
by phil
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.