Results 1 to 4 of 4

Thread: help!! dll file

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Posts
    3

    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??

  2. #2
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378
    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...
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

  3. #3
    Fanatic Member
    Join Date
    Apr 2002
    Posts
    638
    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:
    1. Private Declare Function MyFunction Lib "io.dll" (Param1 As Long) As Long

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Posts
    3
    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
  •  



Click Here to Expand Forum to Full Width