Results 1 to 5 of 5

Thread: C++ dll to VB

  1. #1

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919

    C++ dll to VB

    i've compiled it, and i

    VB Code:
    1. Private Declare Function Test Lib "cpptest.dll" ()

    it says "file not found"

    the DLL is in the same directory


    thanks
    -nabeel
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    no matter, it obviously can't find the dll. I think it only searches in windows\system unless you explicitely specifiy a path.

    If it's a function, it needs a return value. Else it's a sub.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    how do i specify my path?

    because if i put in app.path, it yells at me
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  4. #4
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Try
    VB Code:
    1. Private Declare Function Test Lib "C:\path\to\exe\cpptest.dll" ()
    Alcohol & calculus don't mix.
    Never drink & derive.

  5. #5
    Banned Motxopro's Avatar
    Join Date
    Dec 2001
    Posts
    57
    yeah he's right

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