parallel port

R

Romain TAILLANDIER

Hi group

I have a device equiped of a parallel port. WCE 4.2. x86.
I have few questions.

1) how can i copy files from the ROM ?

2) I have a parallel.dll and i explore it using DEPENDS.EXE. how can i find
the parameters of the differents functions it contain ? I try to find some
..h or lib but i have nothing.

3) I get the entry point of the DLL :


LPT_Close

LPT_Deinit

LPT_Init

LPT_IOControl

LPT_Open

LPT_PowerDown

LPT_PowerUp

LPT_Read

LPT_Seek

LPT_Write



So how can i get the functions parameters :) ?

I search the net about that functions, found nothing.

It seems to have been constructed using Plateform Builder, i have an idea of
what this soft is, but is the parallel.dll a current component ?

is somebody have allready using it (or approching component) ?


4) I have found sample full framework class which import the input32 and
output32 dll, but there is no (or i have not found) WCE equivalents, any
idea ?

Generally, how can i drive LED connected on the parallel port using Compact
FrameWork ??
(I just have to set 0 or 1the different pin of the port to light up/down the
LED).

thank you for any help
 
C

Chris Tacke, eMVP

1. You can't.
2. You can't. You need the SDK from the OEM
3. Those are standard stream interface driver entry points. You don't call
them, device.exe does. You use CreateFile, WriteFile, Readfile,
DeviceIoControl, etc. You need documentation from your OEM on how to use
them for this specific driver. From a managed perspective, the APIs are all
included in the StreamInterfaceDriver class of the SDF.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top