win95io.dll >>>>what the...?

CoolKat
12-02-2000, 01:25 AM
Hey Guys,

I have got hold of win95io.dll which is supposed to be an I/O dll for VB. In short this is what I got:

Declarations:
-------------
Declare Sub vbOut Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Sub vbOutw Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Function vbInp Lib "WIN95IO.DLL" (ByVal nPort As Integer) As Integer
Declare Function vbInpw Lib "WIN95IO.DLL" (ByVal nPort As Integer) As Integer

What I want to do is to tell my VB program, by way of an API call, which of my 2 soundcards I want a sound file sent to. So I need the rest of the code or call to do that. I haven't got a clue, but I know that one of you Cool guys will.

Pleez help.

Stay Kool

ruti_gl
12-03-2000, 01:13 AM
First of all, You must go to Control Panel --> System Info --> Hardware Devices
and check all the addresses of Your Sound Cards.
Then You must read technical info about Your cards, how to program them.
If You don't have this info, go to the site of their producer, and check there.
Then You must add the Functions declarations (copy and paste) into the
module of Your project.
And then You should add the necessary Function calls into Your code
with the corresponding addresses and, what is more important, with
the necessary data.
Remember, that You can read/write only 1 byte or 1 word (2 bytes)
every time You call the function, so if You need to send a file, You
will need to call the function(s) several times.

Good Luck!

Ruth Glushkin

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum