|
-
Nov 11th, 2002, 07:28 AM
#1
Thread Starter
New Member
help!! dll file
i am trying make a program that able to send out bits (HI or LOW) through parallel port. 4 pins as input, and the rest as output. i have downloaded a file name io.dll and try to load the file into my program by
click at menubar:
Project
Referencens
then it show 'can't add a reference to the specified file' how can i over come this problem??
-
Nov 11th, 2002, 07:49 AM
#2
Hyperactive Member
hmmm....try to register the DLL on your machine first by running regsvr32 [your dll path] on your run prompt. Then look for it from your references...
-
Nov 11th, 2002, 07:52 AM
#3
Fanatic Member
it actually sounds like it's not an ActiveX DLL (ie. can't be registered). to test that do what vbud says, and it should say something about not finding an entry point or something. if that's the case, to use it, you'd have to declare the functions like you declare APIs, eg:
VB Code:
Private Declare Function MyFunction Lib "io.dll" (Param1 As Long) As Long
-
Nov 11th, 2002, 08:04 AM
#4
Thread Starter
New Member
after i have declare the io.dll as above, how do i set the port and send data out to test is it working??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|