CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Specified DLL function not found

    I don't know why it doesn't find functoins in a dll.
    Error says: Specified DLL function not found
    I made VC++ Dll file to interact with vb interface.

    I declared a function in the dll like this:

    private Declare Function vbRegister
    Lib "C:\Windows\Desktop\show_interface\serial.dll"
    Alias "Register"
    (byval hWnd as Long, byval nCommPort as Long, byval dwBaudRate as Long) as Long



    at the form general declaration
    Is there anything wrong you can think of?


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Specified DLL function not found

    I'd use DUMPBIN /EXPORTS (from VC++) to get a list of names of exported functions.
    may be "Register" is not the exported name.


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

Featured