[vlc-devel] including a .dll

Adam Collins mr.adamcollins at gmail.com
Wed Sep 27 13:19:53 CEST 2006


Hi

I need to include a .dll (inpout32.dll) file that controls parallel port
access under winXP, into my VLC build. I have tried to add the line
VLC_ADD_LDFLAGS([inpout32])
to the configure.ac file
and in my module I have declared the function prototypes

short _stdcall Inp32(short PortAddress);
void _stdcall Out32(short PortAddress, short data);

and have add the call

Out32(888,0);

to my modules function. Unfortunately when I reconfigure it has no errors
but when I make I get the error

undefined refrence to Out32(888,0)

can anyone tell me what I'm doing wrong?
or How to include parallel port access into VLC

Thanx
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060927/4a035298/attachment.html>


More information about the vlc-devel mailing list