Results 1 to 6 of 6

Thread: Load a dll

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question

    Hi

    I register a dll, but when I add in the VB It return message

    C:\WINDOWS\SYSTEM\PRC.DLL could not be loaded

    What Happened ?

    thank you in advance

  2. #2
    Guest
    Does it have any dependencies that aren't one your system?

    - gaffa

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Is the Dll a VbAx Dll or a C++ dll.What do you want to do with it.Call a function from the dll.
    if it is a C++ dll then:
    Code:
    Public Declare Function yourfunction Lib "PRC.DLL" (ByVal arguments) As something
    You can also load a dll using the LoadLibrary API Function.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You can't use LoadLibrary and it's associated functions in VB because there are no function pointers.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    Guest
    Is it a VB or C++ DLL??

  6. #6

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Cool dll with VB

    Hi

    The DLL made in VB

    thank you very much

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